Commit 405861a0 authored by Li Yang's avatar Li Yang Committed by Kumar Gala

[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: default avatarLi Yang <leoli@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 90c615bc
...@@ -169,7 +169,7 @@ static int Enable_SRAM(void) ...@@ -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; int ret = 0;
static struct pci_device_id pci_marvell_mv64360[] = { static struct pci_device_id pci_marvell_mv64360[] = {
......
...@@ -384,7 +384,7 @@ int boot_part; ...@@ -384,7 +384,7 @@ int boot_part;
static dev_t boot_dev; static dev_t boot_dev;
#ifdef CONFIG_SCSI #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; int l;
char *p; char *p;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment