ARM: pxa: include linux/leds.h
Subsystems (3)
PATCH 1/1 ARM: pxa: include linux/leds.h
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 <[email protected]>
--- arch/arm/mach-pxa/idp.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-pxa/idp.c +1 -0
@@ -19,6 +19,7 @@#include <linux/init.h> #include <linux/interrupt.h> #include <linux/irq.h> +#include <linux/leds.h> #include <linux/platform_device.h> #include <linux/fb.h>
Signature · 1 line
2.9.0
Robert Jarzmik
maintainerQuoted 8 lines · Arnd Bergmann
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
structled_classdevcdev;This adds an explicit #include.
Signed-off-by Arnd Bergmann <[email protected]>
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