]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
sparc/PCI: factor out pcibios_setup()
authorMyron Stowe <myron.stowe@redhat.com>
Tue, 26 Jun 2012 03:32:12 +0000 (21:32 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Jul 2012 21:09:13 +0000 (15:09 -0600)
The PCI core provides a generic pcibios_setup() routine.  Drop this
architecture-specific version in favor of that.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/sparc/kernel/leon_pci.c
arch/sparc/kernel/pci.c
arch/sparc/kernel/pcic.c

index 19f56058742be945d1a29be0137a683523aa49cd..21dcda75a520b3d97ffd7c8ee82d6432df547bbf 100644 (file)
@@ -91,14 +91,6 @@ void __devinit pcibios_fixup_bus(struct pci_bus *pbus)
        }
 }
 
-/*
- * Other archs parse arguments here.
- */
-char * __devinit pcibios_setup(char *str)
-{
-       return str;
-}
-
 resource_size_t pcibios_align_resource(void *data, const struct resource *res,
                                resource_size_t size, resource_size_t align)
 {
index fdaf218116709e3c8b7ce2a29db76862c1800604..3e7fba0a5583caf72ce3ef8d22e7538351c15fa2 100644 (file)
@@ -747,11 +747,6 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
        return 0;
 }
 
-char * __devinit pcibios_setup(char *str)
-{
-       return str;
-}
-
 /* Platform support for /proc/bus/pci/X/Y mmap()s. */
 
 /* If the user uses a host-bridge as the PCI device, he may use
index ded3f6090c3f011d77c7791d34d377e0715dd46c..97eb52937b82c195c4b3057a7772a0a2d17c4722 100644 (file)
@@ -767,14 +767,6 @@ static void watchdog_reset() {
 }
 #endif
 
-/*
- * Other archs parse arguments here.
- */
-char * __devinit pcibios_setup(char *str)
-{
-       return str;
-}
-
 resource_size_t pcibios_align_resource(void *data, const struct resource *res,
                                resource_size_t size, resource_size_t align)
 {