Commit c19b3d84 authored by Adrian Bunk's avatar Adrian Bunk

drivers/video/macmodes.c:mac_find_mode() mustn't be __init

If it's EXPORT_SYMBOL'ed it can't be __devinit.

Reported by Mikael Pettersson.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent ec2cb473
......@@ -371,8 +371,8 @@ EXPORT_SYMBOL(mac_map_monitor_sense);
*
*/
int __init 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment