Merge branch 'pci/myron-pcibios_setup' into next
* pci/myron-pcibios_setup: xtensa/PCI: factor out pcibios_setup() x86/PCI: adjust section annotations for pcibios_setup() unicore32/PCI: adjust section annotations for pcibios_setup() tile/PCI: factor out pcibios_setup() sparc/PCI: factor out pcibios_setup() sh/PCI: adjust section annotations for pcibios_setup() sh/PCI: factor out pcibios_setup() powerpc/PCI: factor out pcibios_setup() parisc/PCI: factor out pcibios_setup() MIPS/PCI: adjust section annotations for pcibios_setup() MIPS/PCI: factor out pcibios_setup() microblaze/PCI: factor out pcibios_setup() ia64/PCI: factor out pcibios_setup() cris/PCI: factor out pcibios_setup() alpha/PCI: factor out pcibios_setup() PCI: pull pcibios_setup() up into core
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
* Misconfigurations can be detected through the FPGA via the slot
|
||||
* resistors to determine card presence. Hotplug remains unsupported.
|
||||
*/
|
||||
static unsigned int slot4en __devinitdata;
|
||||
static unsigned int slot4en __initdata;
|
||||
|
||||
char *__devinit pcibios_setup(char *str)
|
||||
char *__init pcibios_setup(char *str)
|
||||
{
|
||||
if (strcmp(str, "slot4en") == 0) {
|
||||
slot4en = 1;
|
||||
|
@@ -197,11 +197,6 @@ void __init pcibios_update_irq(struct pci_dev *dev, int irq)
|
||||
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
|
||||
}
|
||||
|
||||
char * __devinit __weak pcibios_setup(char *str)
|
||||
{
|
||||
return str;
|
||||
}
|
||||
|
||||
static void __init
|
||||
pcibios_bus_report_status_early(struct pci_channel *hose,
|
||||
int top_bus, int current_bus,
|
||||
|
Reference in New Issue
Block a user