diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-06-26 07:26:57 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 16:58:31 (GMT) |
commit | 9b27915b6aa33b5fbc17beb8c7d5d0b662419018 (patch) | |
tree | 3eaca9bf89747566d6e22f0493950950aaaa6d9d /drivers/video/macmodes.c | |
parent | f837e6f73fe3f04594dad9829df6c7baa5b64a85 (diff) | |
download | linux-fsl-qoriq-9b27915b6aa33b5fbc17beb8c7d5d0b662419018.tar.xz |
[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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/macmodes.c b/drivers/video/macmodes.c index 95f5fc6..d21321c 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; |