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 d5f017448a89..5b36974ed60a 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -437,6 +437,8 @@ static inline int acpi_dev_filter_resource_type_cb(struct acpi_resource *ares, | |||
437 | return acpi_dev_filter_resource_type(ares, (unsigned long)arg); | 437 | return acpi_dev_filter_resource_type(ares, (unsigned long)arg); |
438 | } | 438 | } |
439 | 439 | ||
440 | struct acpi_device *acpi_resource_consumer(struct resource *res); | ||
441 | |||
440 | int acpi_check_resource_conflict(const struct resource *res); | 442 | int acpi_check_resource_conflict(const struct resource *res); |
441 | 443 | ||
442 | int acpi_check_region(resource_size_t start, resource_size_t n, | 444 | int acpi_check_region(resource_size_t start, resource_size_t n, |
@@ -787,6 +789,11 @@ static inline int acpi_reconfig_notifier_unregister(struct notifier_block *nb) | |||
787 | return -EINVAL; | 789 | return -EINVAL; |
788 | } | 790 | } |
789 | 791 | ||
792 | static inline struct acpi_device *acpi_resource_consumer(struct resource *res) | ||
793 | { | ||
794 | return NULL; | ||
795 | } | ||
796 | |||
790 | #endif /* !CONFIG_ACPI */ | 797 | #endif /* !CONFIG_ACPI */ |
791 | 798 | ||
792 | #ifdef CONFIG_ACPI_HOTPLUG_IOAPIC | 799 | #ifdef CONFIG_ACPI_HOTPLUG_IOAPIC |