Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=353076fee81318d056c7a853b1bf6ad1f81d050d
Commit:     353076fee81318d056c7a853b1bf6ad1f81d050d
Parent:     65d8bac3df9516adb17ce9df94a955d3c2c85a51
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Mon Jun 4 23:52:45 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jun 4 23:52:45 2007 -0700

    [VIDEO]: Fix section mismatch warning in promcon.
    
    Fix the following warnings in promcon:
    WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x480): Section 
mismatch: reference to .init.data:promfont_unitable (between 
'promcon_init_unimap' and 'promcon_init')
    WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x488): Section 
mismatch: reference to .init.data:promfont_unitable (between 
'promcon_init_unimap' and 'promcon_init')
    WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x48c): Section 
mismatch: reference to .init.data:promfont_unicount (between 
'promcon_init_unimap' and 'promcon_init')
    WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x490): Section 
mismatch: reference to .init.data:promfont_unicount (between 
'promcon_init_unimap' and 'promcon_init')
    
    The warnings happens because the function: promcon_init_unimap()
    references promfont_unitable and promfont_unicount which are marked
    __initdata by the conmakehash command in the drivers/video/console/Makefile
    
    Fix the warning by removing the __initdata marker on the two variables.
    
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/video/console/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/console/Makefile b/drivers/video/console/Makefile
index 9b26dda..ac46cc3 100644
--- a/drivers/video/console/Makefile
+++ b/drivers/video/console/Makefile
@@ -47,7 +47,7 @@ targets := promcon_tbl.c
 quiet_cmd_conmakehash = CNMKHSH $@
       cmd_conmakehash = scripts/conmakehash $< | \
                sed -e '/\#include <[^>]*>/p' -e 's/types/init/' \
-               -e 's/dfont\(_uni.*\]\)/promfont\1 __initdata/' > $@
+               -e 's/dfont\(_uni.*\]\)/promfont\1 /' > $@
 
 $(obj)/promcon_tbl.c: $(src)/prom.uni
        $(call cmd,conmakehash)
-
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