mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
drivers/video/macmodes.c:mac_find_mode() mustn't be __devinit
If it's EXPORT_SYMBOL'ed it can't be __devinit. Reported by Mikael Pettersson. Signed-off-by: Adrian Bunk <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Cc: Michal Piotrowski <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
bce9451310
commit
57a3db98ac
2 changed files with 6 additions and 7 deletions
|
|
@ -369,9 +369,8 @@ EXPORT_SYMBOL(mac_map_monitor_sense);
|
|||
*
|
||||
*/
|
||||
|
||||
int __devinit mac_find_mode(struct fb_var_screeninfo *var,
|
||||
struct fb_info *info, const char *mode_option,
|
||||
unsigned int default_bpp)
|
||||
int mac_find_mode(struct fb_var_screeninfo *var, struct fb_info *info,
|
||||
const char *mode_option, unsigned int default_bpp)
|
||||
{
|
||||
const struct fb_videomode *db = NULL;
|
||||
unsigned int dbsize = 0;
|
||||
|
|
|
|||
|
|
@ -55,10 +55,10 @@ extern int mac_vmode_to_var(int vmode, int cmode,
|
|||
extern int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode,
|
||||
int *cmode);
|
||||
extern int mac_map_monitor_sense(int sense);
|
||||
extern int __devinit mac_find_mode(struct fb_var_screeninfo *var,
|
||||
struct fb_info *info,
|
||||
const char *mode_option,
|
||||
unsigned int default_bpp);
|
||||
extern int mac_find_mode(struct fb_var_screeninfo *var,
|
||||
struct fb_info *info,
|
||||
const char *mode_option,
|
||||
unsigned int default_bpp);
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue