From c19b3d848a376abb057d6c80788f424e4c565223 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Fri, 19 Oct 2007 18:51:07 +0200 Subject: 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: Adrian Bunk --- drivers/video/macmodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/macmodes.c b/drivers/video/macmodes.c index 2fc71081f7e..371d7283401 100644 --- a/drivers/video/macmodes.c +++ b/drivers/video/macmodes.c @@ -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; -- cgit v1.2.3-18-g5258