summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-02-26 19:26:02 +0100
committerBjorn Helgaas <bhelgaas@google.com>2014-03-19 22:00:15 +0100
commit3a6fc2fb7eb2a4973e29c0fb0c8d0f61d5babeb0 (patch)
treec535d4fdf8b70952db8333c71db072d71cc47641 /arch/sh/drivers
parentmicroblaze/PCI: Use default pcibios_enable_device() (diff)
downloadlinux-3a6fc2fb7eb2a4973e29c0fb0c8d0f61d5babeb0.tar.xz
linux-3a6fc2fb7eb2a4973e29c0fb0c8d0f61d5babeb0.zip
sh/PCI: Use default pcibios_enable_device()
We don't need anything arch-specific in pcibios_enable_device(), so drop the arch implementation and use the default generic one. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Paul Mundt <lethal@linux-sh.org> CC: linux-sh@vger.kernel.org
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r--arch/sh/drivers/pci/pci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c
index 60ed3e1c4b75..1bc09ee7948f 100644
--- a/arch/sh/drivers/pci/pci.c
+++ b/arch/sh/drivers/pci/pci.c
@@ -186,11 +186,6 @@ resource_size_t pcibios_align_resource(void *data, const struct resource *res,
return start;
}
-int pcibios_enable_device(struct pci_dev *dev, int mask)
-{
- return pci_enable_resources(dev, mask);
-}
-
static void __init
pcibios_bus_report_status_early(struct pci_channel *hose,
int top_bus, int current_bus,