]> git.baikalelectronics.ru Git - kernel.git/commit
memory: omap-gpmc: Get the header of the enum
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Dec 2018 13:11:08 +0000 (14:11 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Dec 2018 22:06:16 +0000 (23:06 +0100)
commita87b91730b12de97e7308eb5056484354db28bfe
treed5d571d6497327790fd2b049a5ac7cf61926e774
parent441616f62c718e8c7b4171b9a6b3728eed9cc2bd
memory: omap-gpmc: Get the header of the enum

Commit 864a5a53a118
("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 <ladis@linux-mips.org>
Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 864a5a53a118 ("gpio: Pass a flag to gpiochip_request_own_desc()")
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/memory/omap-gpmc.c