diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-19 18:51:07 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-10-19 18:51:07 +0200 |
commit | c19b3d848a376abb057d6c80788f424e4c565223 (patch) | |
tree | 889d200b28770612b080e79bf390fa88519ebed4 /drivers/video/macmodes.c | |
parent | ec2cb473e3bb0fe1538874cf7773638c235e5b45 (diff) |
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 <bunk@kernel.org>
Diffstat (limited to 'drivers/video/macmodes.c')
-rw-r--r-- | drivers/video/macmodes.c | 4 |
1 files 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; |