From: Linus Walleij Date: Mon, 17 Dec 2018 13:11:08 +0000 (+0100) Subject: memory: omap-gpmc: Get the header of the enum X-Git-Tag: v4.19.88~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acada7c2c68b0ed824ef031331afe287ad3a38da;p=thirdparty%2Fkernel%2Fstable.git memory: omap-gpmc: Get the header of the enum [ Upstream commit a0752e9c3097b2c4fccd618802938e0951038dfa ] 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 Signed-off-by: Sasha Levin --- diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index c215287e80cf3..1c6a7c16e0c17 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