From a0752e9c3097b2c4fccd618802938e0951038dfa Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Mon, 17 Dec 2018 14:11:08 +0100 Subject: memory: omap-gpmc: Get the header of the enum Commit 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()") started to pass an enum gpiod_flags but this file is not including the header file that defines that enum and the compiler spits: drivers/memory/omap-gpmc.c: In function 'gpmc_probe_generic_child': drivers/memory/omap-gpmc.c:2174:9: error: type of formal parameter 4 is incomplete 0); ^ Cc: Ladislav Michl Cc: Janusz Krzysztofik Reported-by: Stephen Rothwell Fixes: 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()") Acked-by: Tony Lindgren Signed-off-by: Linus Walleij --- drivers/memory/omap-gpmc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/memory/omap-gpmc.c') diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index b9b4f7058b05..e1d91e64e008 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c @@ -21,6 +21,7 @@ #include #include #include +#include /* GPIO descriptor enum */ #include #include #include -- cgit v1.2.3