Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=405861a0429113f8e426092af09dd05ec6209410
Commit:     405861a0429113f8e426092af09dd05ec6209410
Parent:     90c615bc42886f23a6112733a949d0f6fbe343b6
Author:     Li Yang <[EMAIL PROTECTED]>
AuthorDate: Wed May 23 11:28:03 2007 +0800
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Wed May 23 07:45:18 2007 -0500

    [POWERPC] Fix Section mismatch warnings
    
    This patch fix the following Section mismatch warnings in powerpc code.
    
    WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to 
.init.data:mv643xx_eth_pd_devs from .text between 'mv643xx_eth_add_pds' (at 
offset 0x9ed2) and 'gg2_read_config'
    WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to 
.init.data:mv643xx_eth_pd_devs from .text between 'mv643xx_eth_add_pds' (at 
offset 0x9ed6) and 'gg2_read_config'
    WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to 
.init.text:note_scsi_host from __ksymtab between '__ksymtab_note_scsi_host' (at 
offset 0x8) and '__ksymtab_sys_ctrler'
    
    Signed-off-by: Li Yang <[EMAIL PROTECTED]>
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/chrp/pegasos_eth.c |    2 +-
 arch/powerpc/platforms/powermac/setup.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/chrp/pegasos_eth.c 
b/arch/powerpc/platforms/chrp/pegasos_eth.c
index 7104567..5bcc58d 100644
--- a/arch/powerpc/platforms/chrp/pegasos_eth.c
+++ b/arch/powerpc/platforms/chrp/pegasos_eth.c
@@ -169,7 +169,7 @@ static int Enable_SRAM(void)
 
 /***********/
 /***********/
-int mv643xx_eth_add_pds(void)
+static int __init mv643xx_eth_add_pds(void)
 {
        int ret = 0;
        static struct pci_device_id pci_marvell_mv64360[] = {
diff --git a/arch/powerpc/platforms/powermac/setup.c 
b/arch/powerpc/platforms/powermac/setup.c
index a410bc7..07b1c4e 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -384,7 +384,7 @@ int boot_part;
 static dev_t boot_dev;
 
 #ifdef CONFIG_SCSI
-void __init note_scsi_host(struct device_node *node, void *host)
+void note_scsi_host(struct device_node *node, void *host)
 {
        int l;
        char *p;
-
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