From 074c8e296c221b59d532ca6e695104599b34c7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Sat, 15 Jun 2019 09:28:05 +0000 Subject: gpio-button-hotplug: fix 4.19 build breakage on malta/be64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c | 1 + 1 file changed, 1 insertion(+) (limited to 'package/kernel') 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 -- cgit v1.2.3