Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1e6a20c9c7848fefa64731ac3d1d88279c447371
Commit:     1e6a20c9c7848fefa64731ac3d1d88279c447371
Parent:     ac07860264bd2b18834d3fa3be47032115524cea
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Tue Aug 7 19:03:27 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sat Aug 11 23:58:24 2007 +0100

    [ARM] 4544/1: arm: fix section mismatch in pxa fb
    
    Fix following section mismatch warning:
    WARNING: drivers/built-in.o(.text+0x73d0): Section mismatch: reference to 
.init.data: (between 'pxafb_setup' and 'pxafb_init')
    
    The warning are caused by __devinit pxafb_setup() that refers to a
    variable marked __initdata.  In a hotplug scenario we would have a
    reference to the freed .init.data section.  Fix this by declaring
    g_options __devinitdata.
    
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 drivers/video/pxafb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c
index 81e571d..a280a52 100644
--- a/drivers/video/pxafb.c
+++ b/drivers/video/pxafb.c
@@ -66,7 +66,7 @@ static void set_ctrlr_state(struct pxafb_info *fbi, u_int 
state);
 
 #ifdef CONFIG_FB_PXA_PARAMETERS
 #define PXAFB_OPTIONS_SIZE 256
-static char g_options[PXAFB_OPTIONS_SIZE] __initdata = "";
+static char g_options[PXAFB_OPTIONS_SIZE] __devinitdata = "";
 #endif
 
 static inline void pxafb_schedule_work(struct pxafb_info *fbi, u_int state)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to