diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-17 07:05:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:13 -0400 |
commit | 57a3db98ac88854e20780e2337471323ba63bde2 (patch) | |
tree | 9c45f6d08d77ec81b3e99723dfdb0e107e61b927 /drivers/video/macmodes.c | |
parent | bce9451310eb66fbbd77bf22e8160079700691f8 (diff) |
drivers/video/macmodes.c:mac_find_mode() mustn't be __devinit
If it's EXPORT_SYMBOL'ed it can't be __devinit.
Reported by Mikael Pettersson.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/macmodes.c')
-rw-r--r-- | drivers/video/macmodes.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/macmodes.c b/drivers/video/macmodes.c index ab2149531a04..083f60321ed8 100644 --- a/drivers/video/macmodes.c +++ b/drivers/video/macmodes.c | |||
@@ -369,9 +369,8 @@ EXPORT_SYMBOL(mac_map_monitor_sense); | |||
369 | * | 369 | * |
370 | */ | 370 | */ |
371 | 371 | ||
372 | int __devinit mac_find_mode(struct fb_var_screeninfo *var, | 372 | int mac_find_mode(struct fb_var_screeninfo *var, struct fb_info *info, |
373 | struct fb_info *info, const char *mode_option, | 373 | const char *mode_option, unsigned int default_bpp) |
374 | unsigned int default_bpp) | ||
375 | { | 374 | { |
376 | const struct fb_videomode *db = NULL; | 375 | const struct fb_videomode *db = NULL; |
377 | unsigned int dbsize = 0; | 376 | unsigned int dbsize = 0; |