Commit dd6d8211 authored by Petr Štetiar's avatar Petr Štetiar
Browse files

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: default avatarPetr Štetiar <ynezz@true.cz>
parent eef195f5
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment