diff options
author | Li Yang <leoli@freescale.com> | 2007-05-23 03:28:03 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-05-23 12:45:18 (GMT) |
commit | 405861a0429113f8e426092af09dd05ec6209410 (patch) | |
tree | 563f49c3551c72b9429326c1f71caeccbbd65757 /arch/powerpc/platforms/chrp/pegasos_eth.c | |
parent | 90c615bc42886f23a6112733a949d0f6fbe343b6 (diff) | |
download | linux-fsl-qoriq-405861a0429113f8e426092af09dd05ec6209410.tar.xz |
[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 <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/chrp/pegasos_eth.c')
-rw-r--r-- | arch/powerpc/platforms/chrp/pegasos_eth.c | 2 |
1 files changed, 1 insertions, 1 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[] = { |