[PATCH] fb: Fix section mismatch in savagefb

From: Jean Delvare
Date: Wed Apr 12 2006 - 12:37:25 EST


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@xxxxxxxxxxxx>
---
drivers/video/savage/savagefb_driver.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.17-rc1.orig/drivers/video/savage/savagefb_driver.c 2006-04-12 18:18:48.000000000 +0200
+++ linux-2.6.17-rc1/drivers/video/savage/savagefb_driver.c 2006-04-12 18:22:03.000000000 +0200
@@ -73,7 +73,7 @@
/* --------------------------------------------------------------------- */


-static char *mode_option __initdata = NULL;
+static char *mode_option __devinitdata = NULL;

#ifdef MODULE


--
Jean Delvare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/