diff options
author | Jiang Liu <liuj97@gmail.com> | 2013-01-18 20:07:42 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-02-15 22:35:05 +0400 |
commit | ab1a2e038ff2336502e95ec6492c0364a9fc70d0 (patch) | |
tree | f69e59b53ed0b01eb4bc04c78ca5e38d2d5919ac /drivers/acpi/internal.h | |
parent | a2766602ac6885f9514abd97821984cd152cdad3 (diff) | |
download | linux-ab1a2e038ff2336502e95ec6492c0364a9fc70d0.tar.xz |
ACPI / PCI: Make pci_slot built-in only, not a module
As discussed in thread at https://patchwork.kernel.org/patch/1946851/,
there's no value in supporting CONFIG_ACPI_PCI_SLOT=m any more.
So change Kconfig and code to only support building pci_slot as
built-in driver.
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index e050254ae143..7374cfc5917a 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h @@ -67,6 +67,11 @@ struct acpi_ec { extern struct acpi_ec *first_ec; +#ifdef CONFIG_ACPI_PCI_SLOT +void acpi_pci_slot_init(void); +#else +static inline void acpi_pci_slot_init(void) { } +#endif int acpi_pci_root_init(void); int acpi_ec_init(void); int acpi_ec_ecdt_probe(void); |