Re: [PATCH] memory: omap-gpmc: Get the header of the enum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Linus Walleij <linus.walleij@xxxxxxxxxx> [181217 13:15]:
> 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 <ladis@xxxxxxxxxxxxxx>
> Cc: Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx>
> Cc: Tony Lindgren <tony@xxxxxxxxxxx>
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Fixes: 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()")
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> Sorry for my mistakes...

No worries:

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux