Commit 011e9373 authored by Patrick Mochel's avatar Patrick Mochel

PCI Update: Fix oops on boot w/ ACPI enabled

parent bbb283cc
...@@ -130,6 +130,7 @@ DRIVERS-m := ...@@ -130,6 +130,7 @@ DRIVERS-m :=
DRIVERS- := DRIVERS- :=
DRIVERS-$(CONFIG_ACPI) += drivers/acpi/acpi.o DRIVERS-$(CONFIG_ACPI) += drivers/acpi/acpi.o
DRIVERS-$(CONFIG_PCI) += drivers/pci/driver.o
DRIVERS-$(CONFIG_PARPORT) += drivers/parport/driver.o DRIVERS-$(CONFIG_PARPORT) += drivers/parport/driver.o
DRIVERS-y += drivers/base/base.o \ DRIVERS-y += drivers/base/base.o \
drivers/char/char.o \ drivers/char/char.o \
...@@ -157,7 +158,6 @@ DRIVERS-y += drivers/cdrom/driver.o ...@@ -157,7 +158,6 @@ DRIVERS-y += drivers/cdrom/driver.o
endif endif
DRIVERS-$(CONFIG_SOUND) += sound/sound.o DRIVERS-$(CONFIG_SOUND) += sound/sound.o
DRIVERS-$(CONFIG_PCI) += drivers/pci/driver.o
DRIVERS-$(CONFIG_MTD) += drivers/mtd/mtdlink.o DRIVERS-$(CONFIG_MTD) += drivers/mtd/mtdlink.o
DRIVERS-$(CONFIG_PCMCIA) += drivers/pcmcia/pcmcia.o DRIVERS-$(CONFIG_PCMCIA) += drivers/pcmcia/pcmcia.o
DRIVERS-$(CONFIG_NET_PCMCIA) += drivers/net/pcmcia/pcmcia_net.o DRIVERS-$(CONFIG_NET_PCMCIA) += drivers/net/pcmcia/pcmcia_net.o
......
...@@ -16,9 +16,9 @@ obj-y += fixup.o ...@@ -16,9 +16,9 @@ obj-y += fixup.o
ifdef CONFIG_ACPI_PCI ifdef CONFIG_ACPI_PCI
obj-y += acpi.o obj-y += acpi.o
else
obj-y += legacy.o
endif endif
obj-y += legacy.o
endif # CONFIG_MULTIQUAD endif # CONFIG_MULTIQUAD
obj-y += irq.o common.o obj-y += irq.o common.o
......
...@@ -67,4 +67,4 @@ static int __init pci_acpi_init(void) ...@@ -67,4 +67,4 @@ static int __init pci_acpi_init(void)
return 0; return 0;
} }
subsys_initcall(pci_acpi_init); arch_initcall(pci_acpi_init);
...@@ -363,4 +363,4 @@ static int __init pci_direct_init(void) ...@@ -363,4 +363,4 @@ static int __init pci_direct_init(void)
return 0; return 0;
} }
subsys_initcall(pci_direct_init); arch_initcall(pci_direct_init);
...@@ -556,4 +556,4 @@ static int __init pci_pcbios_init(void) ...@@ -556,4 +556,4 @@ static int __init pci_pcbios_init(void)
return 0; return 0;
} }
subsys_initcall(pci_pcbios_init); arch_initcall(pci_pcbios_init);
...@@ -578,7 +578,7 @@ static int __devinit pci_setup(char *str) ...@@ -578,7 +578,7 @@ static int __devinit pci_setup(char *str)
return 1; return 1;
} }
subsys_initcall(pci_init); device_initcall(pci_init);
__setup("pci=", pci_setup); __setup("pci=", pci_setup);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment