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-Tag: v19.07.0-rc1~394 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=074c8e296c221b59d532ca6e695104599b34c7a2;p=oweals%2Fopenwrt.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 Signed-off-by: Christian Lamparter (cherry picked from commit dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211) --- 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