[PATCH] fbdev modedb: make more pointer parameters const
fbdev modedb: make more input and output pointer parameters const Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: James Simmons <jsimmons@infradead.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
5c52cbeb7f
commit
9791d763de
@ -952,25 +952,26 @@ extern unsigned char *fb_ddc_read(struct i2c_adapter *adapter);
|
||||
/* drivers/video/modedb.c */
|
||||
#define VESA_MODEDB_SIZE 34
|
||||
extern void fb_var_to_videomode(struct fb_videomode *mode,
|
||||
struct fb_var_screeninfo *var);
|
||||
const struct fb_var_screeninfo *var);
|
||||
extern void fb_videomode_to_var(struct fb_var_screeninfo *var,
|
||||
struct fb_videomode *mode);
|
||||
extern int fb_mode_is_equal(struct fb_videomode *mode1,
|
||||
struct fb_videomode *mode2);
|
||||
extern int fb_add_videomode(struct fb_videomode *mode, struct list_head *head);
|
||||
extern void fb_delete_videomode(struct fb_videomode *mode,
|
||||
const struct fb_videomode *mode);
|
||||
extern int fb_mode_is_equal(const struct fb_videomode *mode1,
|
||||
const struct fb_videomode *mode2);
|
||||
extern int fb_add_videomode(const struct fb_videomode *mode,
|
||||
struct list_head *head);
|
||||
extern void fb_delete_videomode(const struct fb_videomode *mode,
|
||||
struct list_head *head);
|
||||
extern struct fb_videomode *fb_match_mode(struct fb_var_screeninfo *var,
|
||||
struct list_head *head);
|
||||
extern struct fb_videomode *fb_find_best_mode(struct fb_var_screeninfo *var,
|
||||
struct list_head *head);
|
||||
extern struct fb_videomode *fb_find_nearest_mode(struct fb_videomode *mode,
|
||||
struct list_head *head);
|
||||
extern const struct fb_videomode *fb_match_mode(const struct fb_var_screeninfo *var,
|
||||
struct list_head *head);
|
||||
extern const struct fb_videomode *fb_find_best_mode(const struct fb_var_screeninfo *var,
|
||||
struct list_head *head);
|
||||
extern const struct fb_videomode *fb_find_nearest_mode(const struct fb_videomode *mode,
|
||||
struct list_head *head);
|
||||
extern void fb_destroy_modelist(struct list_head *head);
|
||||
extern void fb_videomode_to_modelist(struct fb_videomode *modedb, int num,
|
||||
extern void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num,
|
||||
struct list_head *head);
|
||||
extern struct fb_videomode *fb_find_best_display(struct fb_monspecs *specs,
|
||||
struct list_head *head);
|
||||
extern const struct fb_videomode *fb_find_best_display(const struct fb_monspecs *specs,
|
||||
struct list_head *head);
|
||||
|
||||
/* drivers/video/fbcmap.c */
|
||||
extern int fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp);
|
||||
|
Reference in New Issue
Block a user