summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-08-14 09:52:44 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2019-08-15 20:15:46 +0200
commitb552addc455ae71df831e7c402cd8d7e8d4434ca (patch)
treea200e38cebe37e85a6920bef1060a4e9c4dc33be
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-b552addc455ae71df831e7c402cd8d7e8d4434ca.tar.bz2
ARM: samsung: Include GPIO driver header
This file is using struct gpio_chip and needs to include <linux/gpio/driver.h> to get that. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r--arch/arm/plat-samsung/include/plat/gpio-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h b/arch/arm/plat-samsung/include/plat/gpio-core.h
index 51e721f5e491..c0bfceb88340 100644
--- a/arch/arm/plat-samsung/include/plat/gpio-core.h
+++ b/arch/arm/plat-samsung/include/plat/gpio-core.h
@@ -12,6 +12,7 @@
/* Bring in machine-local definitions, especially S3C_GPIO_END */
#include <mach/gpio-samsung.h>
+#include <linux/gpio/driver.h>
#define GPIOCON_OFF (0x00)
#define GPIODAT_OFF (0x04)