diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-26 23:18:44 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-03-19 22:00:15 +0100 |
commit | f6baf35f7957aa6986e6897734a0cc4eb442cf94 (patch) | |
tree | b40aed7c8ca247b5a174fcfd3121909721e34817 /arch/sparc/kernel/leon_pci.c | |
parent | sh/PCI: Use default pcibios_enable_device() (diff) | |
download | linux-f6baf35f7957aa6986e6897734a0cc4eb442cf94.tar.xz 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.c | 5 |
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 |