887,6 → 887,8 |
resource_size_t size; |
} ranges[0]; |
} *apertures; |
|
bool skip_vt_switch; /* no VT switch on suspend/resume required */ |
}; |
|
static inline struct apertures_struct *alloc_apertures(unsigned int max_num) { |
1095,6 → 1097,12 |
extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb); |
extern unsigned char *fb_ddc_read(struct i2c_adapter *adapter); |
|
extern int of_get_fb_videomode(struct device_node *np, |
struct fb_videomode *fb, |
int index); |
extern int fb_videomode_from_videomode(const struct videomode *vm, |
struct fb_videomode *fbmode); |
|
/* drivers/video/modedb.c */ |
#define VESA_MODEDB_SIZE 34 |
extern void fb_var_to_videomode(struct fb_videomode *mode, |