summaryrefslogtreecommitdiffstats
path: root/drivers/video/macmodes.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-06-26 00:26:57 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 09:58:31 -0700
commit9b27915b6aa33b5fbc17beb8c7d5d0b662419018 (patch)
tree3eaca9bf89747566d6e22f0493950950aaaa6d9d /drivers/video/macmodes.c
parentf837e6f73fe3f04594dad9829df6c7baa5b64a85 (diff)
[PATCH] macmodes: Fix section warning
Fix the following warning: WARNING: drivers/video/macmodes.o - Section mismatch: reference to .init.text:mac_find_mode from __ksymtab after '__ksymtab_mac_find_mode' (at offset 0x10) Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/macmodes.c')
-rw-r--r--drivers/video/macmodes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/macmodes.c b/drivers/video/macmodes.c
index 95f5fc646f4..d21321ca7c3 100644
--- a/drivers/video/macmodes.c
+++ b/drivers/video/macmodes.c
@@ -370,8 +370,9 @@ 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 __devinit 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;