[PATCH] fb: Fix section mismatch in savagefb
authorJean Delvare <khali@linux-fr.org>
Wed, 19 Apr 2006 05:22:09 +0000 (22:22 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:54 +0000 (09:13 -0700)
Fix the following section mismatch:

WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.data: from .text.savagefb_probe after 'savagefb_probe' (at offset 0x5e2)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/savage/savagefb_driver.c

index 10e6b3aab9eaf18f7bd11824cfa63c12b88ba86e..cab30aa0c9d50346caeba7e4ada3028aa73e236b 100644 (file)
@@ -73,7 +73,7 @@
 /* --------------------------------------------------------------------- */
 
 
-static char *mode_option __initdata = NULL;
+static char *mode_option __devinitdata = NULL;
 
 #ifdef MODULE