diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/acpi_gpio.h | 2 |
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 | ||
| 9 | int acpi_get_gpio(char *path, int pin); | 9 | int acpi_get_gpio(char *path, int pin); |
| 10 | void acpi_gpiochip_request_interrupts(struct gpio_chip *chip); | 10 | void acpi_gpiochip_request_interrupts(struct gpio_chip *chip); |
| 11 | void 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 | ||
| 19 | static inline void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) { } | 20 | static inline void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) { } |
| 21 | static inline void acpi_gpiochip_free_interrupts(struct gpio_chip *chip) { } | ||
| 20 | 22 | ||
| 21 | #endif /* CONFIG_GPIO_ACPI */ | 23 | #endif /* CONFIG_GPIO_ACPI */ |
| 22 | 24 | ||
