Skip to contentSkip to conversation

fb: Fix section mismatch in savagefb

PATCH New Jean Delvare 1 participant 1 message Apr 12, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fb: Fix section mismatch in savagefb

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)

---
 drivers/video/savage/savagefb_driver.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/savage/savagefb_driver.c +1 -1
@@ -73,7 +73,7 @@
 /* --------------------------------------------------------------------- */
 
 
-static char *mode_option __initdata = NULL;
+static char *mode_option __devinitdata = NULL;
 
 #ifdef MODULE
 
Signature · 1 line
Jean Delvare