summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/leon_pci.c
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/kernel/leon_pci.c
parent3a6fc2fb7eb2a4973e29c0fb0c8d0f61d5babeb0 (diff)
downloadblackbird-obmc-linux-f6baf35f7957aa6986e6897734a0cc4eb442cf94.tar.gz
blackbird-obmc-linux-f6baf35f7957aa6986e6897734a0cc4eb442cf94.zip
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/kernel/leon_pci.c')
-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 88aaaa57bb64..e16c4157e1ae 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