]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
cris/PCI: factor out pcibios_setup()
authorMyron Stowe <myron.stowe@redhat.com>
Tue, 26 Jun 2012 03:32:46 +0000 (21:32 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Jul 2012 21:09:07 +0000 (15:09 -0600)
The PCI core provides a generic pcibios_setup() routine.  Drop this
architecture-specific version in favor of that.

This patch fixes what looks like a bug in cris, which implements
pcibios_setup() such that pci_setup() doesn't look for any generic
options.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/cris/arch-v32/drivers/pci/bios.c

index bc0cfdad1cbceecd2c7347c427c087b6ed8105ee..5b1ee82f63c5452750caf791fff3bd975c6d9c6a 100644 (file)
@@ -6,11 +6,6 @@ void __devinit  pcibios_fixup_bus(struct pci_bus *b)
 {
 }
 
-char * __devinit  pcibios_setup(char *str)
-{
-       return NULL;
-}
-
 void pcibios_set_master(struct pci_dev *dev)
 {
        u8 lat;