Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=85e6c7a7dbdb18a93846073a7f01369e91665c53
Commit:     85e6c7a7dbdb18a93846073a7f01369e91665c53
Parent:     66a2c077c36ee5c56e77ba3757702c4464011da6
Author:     Kristoffer Ericson <[EMAIL PROTECTED]>
AuthorDate: Sun Feb 3 22:08:10 2008 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Mon Feb 4 13:14:07 2008 +0000

    [ARM] 4810/1: - Fix 'section mismatch' building warnings
    
    Warning message :
    WARNING: vmlinux.o(.text+0x9afc): Section mismatch: reference to 
.init.text:sa1110_mb_enable (between 'sa1111_probe' and 'sa1111_remove')
    WARNING: vmlinux.o(.text+0x13b1ac): Section mismatch: reference to 
.init.text:pcmcia_jornada720_init (between 'pcmcia_probe' and 'pcmcia_remove')
    
    * fixes the 'section mismatch' building warnings for target sa1100. 
Solution is __init -> __devinit. Thanks to Randy Dunlap for pointing out the 
solution.
    
    Signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/mach-sa1100/generic.c     |    2 +-
 drivers/pcmcia/sa1100_jornada720.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c
index 9e13c83..5c84c60 100644
--- a/arch/arm/mach-sa1100/generic.c
+++ b/arch/arm/mach-sa1100/generic.c
@@ -470,7 +470,7 @@ void __init sa1110_mb_disable(void)
  * If the system is going to use the SA-1111 DMA engines, set up
  * the memory bus request/grant pins.
  */
-void __init sa1110_mb_enable(void)
+void __devinit sa1110_mb_enable(void)
 {
        unsigned long flags;
 
diff --git a/drivers/pcmcia/sa1100_jornada720.c 
b/drivers/pcmcia/sa1100_jornada720.c
index af485ae..6284c35 100644
--- a/drivers/pcmcia/sa1100_jornada720.c
+++ b/drivers/pcmcia/sa1100_jornada720.c
@@ -101,7 +101,7 @@ static struct pcmcia_low_level jornada720_pcmcia_ops = {
   .socket_suspend      = sa1111_pcmcia_socket_suspend,
 };
 
-int __init pcmcia_jornada720_init(struct device *dev)
+int __devinit pcmcia_jornada720_init(struct device *dev)
 {
        int ret = -ENODEV;
 
-
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