[PATCH] ARM: pxa: include linux/leds.h

Robert Jarzmik robert.jarzmik at free.fr
Wed Jan 18 10:21:04 PST 2017


Arnd Bergmann <arnd at arndb.de> writes:

> When the header is not included implicitly, we get a build failure:
>
> arch/arm/mach-pxa/idp.c:205:22: error: field 'cdev' has incomplete type
>   struct led_classdev     cdev;
>
> This adds an explicit #include.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Sure, pushed into pxa/for-next, I hope it's not troublesome enough to include it
in the 4.10 cycle pxa fixes which is ... empty so far.

Cheers.

--
Robert



More information about the linux-arm-kernel mailing list