xtensa/PCI: factor out pcibios_setup()
authorMyron Stowe <myron.stowe@redhat.com>
Tue, 26 Jun 2012 03:32:39 +0000 (21:32 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Jul 2012 21:09:14 +0000 (15:09 -0600)
The PCI core provides a generic pcibios_setup() routine.  Drop this
architecture-specific version in favor of that.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/xtensa/kernel/pci.c

index eb30e35..3a2cae4 100644 (file)
@@ -46,7 +46,6 @@
  * pcibios_fixups
  * pcibios_align_resource
  * pcibios_fixup_bus
- * pcibios_setup
  * pci_bus_add_device
  * pci_mmap_page_range
  */
@@ -206,11 +205,6 @@ void __init pcibios_fixup_bus(struct pci_bus *bus)
        }
 }
 
-char __init *pcibios_setup(char *str)
-{
-       return str;
-}
-
 void pcibios_set_master(struct pci_dev *dev)
 {
        /* No special bus mastering setup handling */