aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-06-15 09:28:05 +0000
committerPetr Štetiar <ynezz@true.cz>2019-06-17 09:42:36 +0200
commitdd6d82112a10796dd5aa0f9e9c76ec8e77e7e211 (patch)
tree3c54c364cfe77efef76788603f060e948e2251d1
parenteef195f57b811be8f8c208c940a8f27b3ad38365 (diff)
downloadupstream-dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211.tar.gz
upstream-dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211.tar.bz2
upstream-dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211.zip
gpio-button-hotplug: fix 4.19 build breakage on malta/be64
While testing 4.19 build on malta/be64, I've encountered following error: gpio-button-hotplug/gpio-button-hotplug.c:529:18: error: implicit declaration of function 'gpio_to_desc' which is caused by the missing include fixed by this patch. Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
index daa4b2a4f7..e63d414284 100644
--- a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
+++ b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
@@ -28,6 +28,7 @@
#include <linux/of_gpio.h>
#include <linux/of_irq.h>
#include <linux/gpio_keys.h>
+#include <linux/gpio/consumer.h>
#define BH_SKB_SIZE 2048