diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-06-26 00:26:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:31 -0700 |
commit | 9b27915b6aa33b5fbc17beb8c7d5d0b662419018 (patch) | |
tree | 3eaca9bf89747566d6e22f0493950950aaaa6d9d /drivers/video/macmodes.h | |
parent | f837e6f73fe3f04594dad9829df6c7baa5b64a85 (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.h')
-rw-r--r-- | drivers/video/macmodes.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/video/macmodes.h b/drivers/video/macmodes.h index 232f5a09a499..babeb81f467d 100644 --- a/drivers/video/macmodes.h +++ b/drivers/video/macmodes.h @@ -55,9 +55,10 @@ extern int mac_vmode_to_var(int vmode, int cmode, extern int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, int *cmode); extern int mac_map_monitor_sense(int sense); -extern int __init mac_find_mode(struct fb_var_screeninfo *var, - struct fb_info *info, const char *mode_option, - unsigned int default_bpp); +extern int __devinit mac_find_mode(struct fb_var_screeninfo *var, + struct fb_info *info, + const char *mode_option, + unsigned int default_bpp); /* |