aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/acpi_gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/acpi_gpio.h b/include/linux/acpi_gpio.h
index b76ebd08ff8e..213135f44333 100644
--- a/include/linux/acpi_gpio.h
+++ b/include/linux/acpi_gpio.h
@@ -8,6 +8,7 @@
8 8
9int acpi_get_gpio(char *path, int pin); 9int acpi_get_gpio(char *path, int pin);
10void acpi_gpiochip_request_interrupts(struct gpio_chip *chip); 10void acpi_gpiochip_request_interrupts(struct gpio_chip *chip);
11void acpi_gpiochip_free_interrupts(struct gpio_chip *chip);
11 12
12#else /* CONFIG_GPIO_ACPI */ 13#else /* CONFIG_GPIO_ACPI */
13 14
@@ -17,6 +18,7 @@ static inline int acpi_get_gpio(char *path, int pin)
17} 18}
18 19
19static inline void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) { } 20static inline void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) { }
21static inline void acpi_gpiochip_free_interrupts(struct gpio_chip *chip) { }
20 22
21#endif /* CONFIG_GPIO_ACPI */ 23#endif /* CONFIG_GPIO_ACPI */
22 24