powerpc/PCI: factor out pcibios_setup()
The PCI core provides a generic pcibios_setup() routine. Drop this architecture-specific version in favor of that. Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Myron Stowe <myron.stowe@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
a45639c8d3
commit
67ea194ad3
|
@ -200,11 +200,6 @@ int pcibios_add_platform_entries(struct pci_dev *pdev)
|
||||||
return device_create_file(&pdev->dev, &dev_attr_devspec);
|
return device_create_file(&pdev->dev, &dev_attr_devspec);
|
||||||
}
|
}
|
||||||
|
|
||||||
char __devinit *pcibios_setup(char *str)
|
|
||||||
{
|
|
||||||
return str;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads the interrupt pin to determine if interrupt is use by card.
|
* Reads the interrupt pin to determine if interrupt is use by card.
|
||||||
* If the interrupt is used, then gets the interrupt line from the
|
* If the interrupt is used, then gets the interrupt line from the
|
||||||
|
|
Loading…
Reference in New Issue