aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pci_fire.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-07 01:03:58 -0700
committerDavid S. Miller <davem@davemloft.net>2009-04-08 03:28:15 -0700
commit9a2ed5cc9ef6cb60abd3ea66d7be549d8023581a (patch)
tree564ba2a98b1c032e1d03262fd24e66ead1ab8899 /arch/sparc/kernel/pci_fire.c
parent19ab6db66ce1b32de54ecb474f16ade3247f8323 (diff)
downloadkernel_samsung_smdk4412-9a2ed5cc9ef6cb60abd3ea66d7be549d8023581a.zip
kernel_samsung_smdk4412-9a2ed5cc9ef6cb60abd3ea66d7be549d8023581a.tar.gz
kernel_samsung_smdk4412-9a2ed5cc9ef6cb60abd3ea66d7be549d8023581a.tar.bz2
sparc64: Fix section mismatch warnings in PCI controller drivers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pci_fire.c')
-rw-r--r--arch/sparc/kernel/pci_fire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/pci_fire.c b/arch/sparc/kernel/pci_fire.c
index 9462b68..d53f45b 100644
--- a/arch/sparc/kernel/pci_fire.c
+++ b/arch/sparc/kernel/pci_fire.c
@@ -409,8 +409,8 @@ static void pci_fire_hw_init(struct pci_pbm_info *pbm)
upa_writeq(~(u64)0, pbm->pbm_regs + FIRE_PEC_IENAB);
}
-static int __init pci_fire_pbm_init(struct pci_pbm_info *pbm,
- struct of_device *op, u32 portid)
+static int __devinit pci_fire_pbm_init(struct pci_pbm_info *pbm,
+ struct of_device *op, u32 portid)
{
const struct linux_prom64_registers *regs;
struct device_node *dp = op->node;