]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Input: matrix_keypad - add missed header inclusion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Sep 2022 18:46:31 +0000 (21:46 +0300)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 23 Sep 2022 18:51:33 +0000 (11:51 -0700)
The gpiod_count() API is defined in gpio/consumer.h. Include it.

Fixes: 7a89d6f380ce ("Input: matrix_keypad - replace of_gpio_named_count() by gpiod_count()")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220923184632.2157-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/matrix_keypad.c

index 63f078f2bc4aecac53cb9c88bb113ae75d26461a..7dd3f3eda834e2b60fbc882cf6a68e7b1007cd3f 100644 (file)
@@ -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>