summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pci_fire.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2013-01-01 16:02:33 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-12 15:28:45 -0800
commitb7c13f76fda994284521f6ef996119c25282bdeb (patch)
treec30d2ab35dfa6f3013b0e663d1260c39db91ce1d /arch/sparc/kernel/pci_fire.c
parent4e4d78f1c1a08f085a1972b9af92960af70a07c6 (diff)
downloadop-kernel-dev-b7c13f76fda994284521f6ef996119c25282bdeb.zip
op-kernel-dev-b7c13f76fda994284521f6ef996119c25282bdeb.tar.gz
sparc: remove __devinit, __devexit annotations
__devinit, __devexit annotations are nops - so drop them. Likewise for __devexit_p. Adjusted alignment of arguments when needed. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/kernel/pci_fire.c b/arch/sparc/kernel/pci_fire.c
index 188f935..e60fc6a6 100644
--- a/arch/sparc/kernel/pci_fire.c
+++ b/arch/sparc/kernel/pci_fire.c
@@ -408,8 +408,8 @@ static void pci_fire_hw_init(struct pci_pbm_info *pbm)
upa_writeq(~(u64)0, pbm->pbm_regs + FIRE_PEC_IENAB);
}
-static int __devinit pci_fire_pbm_init(struct pci_pbm_info *pbm,
- struct platform_device *op, u32 portid)
+static int pci_fire_pbm_init(struct pci_pbm_info *pbm,
+ struct platform_device *op, u32 portid)
{
const struct linux_prom64_registers *regs;
struct device_node *dp = op->dev.of_node;
@@ -454,7 +454,7 @@ static int __devinit pci_fire_pbm_init(struct pci_pbm_info *pbm,
return 0;
}
-static int __devinit fire_probe(struct platform_device *op)
+static int fire_probe(struct platform_device *op)
{
struct device_node *dp = op->dev.of_node;
struct pci_pbm_info *pbm;
OpenPOWER on IntegriCloud