Message ID | 20190814075244.8726-1-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show |
Series | ARM: plat-samsung: Include GPIO driver header | expand |
On Wed, Aug 14, 2019 at 09:52:44AM +0200, Linus Walleij wrote: > This file is using struct gpio_chip and needs to include > <linux/gpio/driver.h> to get that. > > Cc: Kukjin Kim <kgene@kernel.org> > Cc: Krzysztof Kozlowski <krzk@kernel.org> > Cc: linux-samsung-soc@vger.kernel.org > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- Thanks, applied. Best regards, Krzysztof
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)
This file is using struct gpio_chip and needs to include <linux/gpio/driver.h> to get that. Cc: Kukjin Kim <kgene@kernel.org> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- Samsung maintainers: please apply this where appropriate. --- arch/arm/plat-samsung/include/plat/gpio-core.h | 1 + 1 file changed, 1 insertion(+) -- 2.21.0