From: Petr Štetiar Date: Sat, 15 Jun 2019 09:28:05 +0000 (+0000) Subject: gpio-button-hotplug: fix 4.19 build breakage on malta/be64 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211;p=openwrt%2Fstaging%2Fynezz.git 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 --- 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 #include #include +#include #define BH_SKB_SIZE 2048