projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d2a6d
)
PCI hotplug: Fix build with CONFIG_ACPI unset
author
Rafael J. Wysocki
<rjw@sisk.pl>
Wed, 25 Aug 2010 19:33:29 +0000
(21:33 +0200)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Wed, 25 Aug 2010 19:54:03 +0000
(12:54 -0700)
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>
drivers/pci/hotplug/pciehp.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/hotplug/pciehp.h
b/drivers/pci/hotplug/pciehp.h
index 653de6ff8ac649c39e151387ceafc8f7bb13b462..73d5139892639bf798767ee927c9f6f4c26da013 100644
(file)
--- a/
drivers/pci/hotplug/pciehp.h
+++ b/
drivers/pci/hotplug/pciehp.h
@@
-178,5
+178,9
@@
static inline void pciehp_firmware_init(void)
}
#else
#define pciehp_firmware_init() do {} while (0)
+static inline int pciehp_acpi_slot_detection_check(struct pci_dev *dev)
+{
+ return 0;
+}
#endif /* CONFIG_ACPI */
#endif /* _PCIEHP_H */