diff options
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index ddbeda6dbdc8..b00ad73c946d 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -419,6 +419,8 @@ static inline int acpi_dev_filter_resource_type_cb(struct acpi_resource *ares, | |||
419 | return acpi_dev_filter_resource_type(ares, (unsigned long)arg); | 419 | return acpi_dev_filter_resource_type(ares, (unsigned long)arg); |
420 | } | 420 | } |
421 | 421 | ||
422 | struct acpi_device *acpi_resource_consumer(struct resource *res); | ||
423 | |||
422 | int acpi_check_resource_conflict(const struct resource *res); | 424 | int acpi_check_resource_conflict(const struct resource *res); |
423 | 425 | ||
424 | int acpi_check_region(resource_size_t start, resource_size_t n, | 426 | int acpi_check_region(resource_size_t start, resource_size_t n, |
@@ -762,6 +764,11 @@ static inline int acpi_reconfig_notifier_unregister(struct notifier_block *nb) | |||
762 | return -EINVAL; | 764 | return -EINVAL; |
763 | } | 765 | } |
764 | 766 | ||
767 | static inline struct acpi_device *acpi_resource_consumer(struct resource *res) | ||
768 | { | ||
769 | return NULL; | ||
770 | } | ||
771 | |||
765 | #endif /* !CONFIG_ACPI */ | 772 | #endif /* !CONFIG_ACPI */ |
766 | 773 | ||
767 | #ifdef CONFIG_ACPI_HOTPLUG_IOAPIC | 774 | #ifdef CONFIG_ACPI_HOTPLUG_IOAPIC |