Message ID | 20220923184632.2157-1-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 7aacc42f8d7d3bc9efde159b534d9199d9e2cc87 |
Headers | show |
Series | [v1,1/2] Input: matrix_keypad - add missed header inclusion | expand |
On Fri, Sep 23, 2022 at 09:46:31PM +0300, Andy Shevchenko wrote: > The gpiod_count() API is defined in gpio/consumer.h. Include it. > > Fixes: f8f7f47d576f ("Input: matrix_keypad - replace of_gpio_named_count() by gpiod_count()") > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Applied, thank you.
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index 63f078f2bc4a..7dd3f3eda834 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c @@ -9,6 +9,7 @@ #include <linux/types.h> #include <linux/delay.h> +#include <linux/gpio/consumer.h> #include <linux/platform_device.h> #include <linux/input.h> #include <linux/irq.h>
The gpiod_count() API is defined in gpio/consumer.h. Include it. Fixes: f8f7f47d576f ("Input: matrix_keypad - replace of_gpio_named_count() by gpiod_count()") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/input/keyboard/matrix_keypad.c | 1 + 1 file changed, 1 insertion(+)