diff options
author | Dustin Byford <dustin@cumulusnetworks.com> | 2015-10-23 22:27:06 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-25 17:46:28 +0300 |
commit | c0e5c4450494d74c8deb4f47ddcbb74c94937e20 (patch) | |
tree | a192260242fb055bcb2fc49b332d0229c016c1ba /include/linux/acpi.h | |
parent | c5fa6fc79f5b1fbe540300dbe3efbaa515b05282 (diff) | |
download | linux-c0e5c4450494d74c8deb4f47ddcbb74c94937e20.tar.xz |
acpi: add acpi_preset_companion() stub
Add a stub for acpi_preset_companion(). Fixes build failures when
acpi_preset_companion() is used and CONFIG_ACPI is not set.
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Dustin Byford <dustin@cumulusnetworks.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 43856d19cf4d..43b55e751dea 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -477,6 +477,11 @@ static inline bool has_acpi_companion(struct device *dev) return false; } +static inline void acpi_preset_companion(struct device *dev, + struct acpi_device *parent, u64 addr) +{ +} + static inline const char *acpi_dev_name(struct acpi_device *adev) { return NULL; |