gpio-button-hotplug: fix 4.19 build breakage on malta/be64
authorPetr Štetiar <ynezz@true.cz>
Sat, 15 Jun 2019 09:28:05 +0000 (09:28 +0000)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 19 Jul 2019 15:00:30 +0000 (17:00 +0200)
commit074c8e296c221b59d532ca6e695104599b34c7a2
treec7f08d9fca00fde8da9df632eb81f93846481f93
parent96cc390d8808a79f920b6b3fd256cfeb6fd501b2
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211)
package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c