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

From: Robert Jarzmik
Date: Wed Jan 18 2017 - 13:21:14 EST


Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxx>
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