Re: linux-next: Tree for May 6 (acpi: PCI=n)

From: Len Brown
Date: Thu May 06 2010 - 16:29:52 EST


> When CONFIG_PCI is not enabled:
>
> arch/x86/kernel/acpi/boot.c:1034: error: 'pci_bus_type' undeclared
>
> drivers/acpi/reboot.c:30: error:implicit declaration of function 'pci_find_bus'
> drivers/acpi/reboot.c:30: warning: assignment makes pointer from integer without a cast
> drivers/acpi/reboot.c:38: error:implicit declaration of function 'pci_bus_write_config_byte'

CONFIG_ACPI depends on CONFIG_PCI, so this file should not be build with
CONFIG_PCI=n.

Please let me know how you were able to generate this illegal
configuration.

thanks,
Len Brown, Intel Open Source Technology Center

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/