summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-02-26 15:18:44 -0700
committerBjorn Helgaas <bhelgaas@google.com>2014-03-19 15:00:15 -0600
commitf6baf35f7957aa6986e6897734a0cc4eb442cf94 (patch)
treeb40aed7c8ca247b5a174fcfd3121909721e34817 /arch/sparc
parent3a6fc2fb7eb2a4973e29c0fb0c8d0f61d5babeb0 (diff)
downloadop-kernel-dev-f6baf35f7957aa6986e6897734a0cc4eb442cf94.zip
op-kernel-dev-f6baf35f7957aa6986e6897734a0cc4eb442cf94.tar.gz
sparc/PCI: Use default pcibios_enable_device() (Leon only)
We don't need anything arch-specific in pcibios_enable_device() so drop the arch implementation and use the default generic one. Note that sparc has two pcibios_enable_device() implementations other than the one removed here. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Daniel Hellstrom <daniel@gaisler.com
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/leon_pci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/kernel/leon_pci.c b/arch/sparc/kernel/leon_pci.c
index 88aaaa5..e16c415 100644
--- a/arch/sparc/kernel/leon_pci.c
+++ b/arch/sparc/kernel/leon_pci.c
@@ -99,11 +99,6 @@ resource_size_t pcibios_align_resource(void *data, const struct resource *res,
return res->start;
}
-int pcibios_enable_device(struct pci_dev *dev, int mask)
-{
- return pci_enable_resources(dev, mask);
-}
-
/* in/out routines taken from pcic.c
*
* This probably belongs here rather than ioport.c because
OpenPOWER on IntegriCloud