diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-08-25 15:33:29 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-08-25 15:54:03 -0400 |
commit | 6e63e80d88521a176989ed14b420f42dc418e46a (patch) | |
tree | 09f41fcc62e314806deaf7761cfad24e3667959e | |
parent | a9d2a6df11f5b9dc19ad4147374e8b67c4438158 (diff) |
PCI hotplug: Fix build with CONFIG_ACPI unset
One of the recent changes caused complilation of
drivers/pci/hotplug/pciehp_core.c to fail. Fix this issue.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index 653de6ff8ac6..73d513989263 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h | |||
@@ -178,5 +178,9 @@ static inline void pciehp_firmware_init(void) | |||
178 | } | 178 | } |
179 | #else | 179 | #else |
180 | #define pciehp_firmware_init() do {} while (0) | 180 | #define pciehp_firmware_init() do {} while (0) |
181 | static inline int pciehp_acpi_slot_detection_check(struct pci_dev *dev) | ||
182 | { | ||
183 | return 0; | ||
184 | } | ||
181 | #endif /* CONFIG_ACPI */ | 185 | #endif /* CONFIG_ACPI */ |
182 | #endif /* _PCIEHP_H */ | 186 | #endif /* _PCIEHP_H */ |