From: Arnd Bergmann Date: Wed, 18 Jan 2017 16:49:24 +0000 (+0100) Subject: ARM: pxa: include linux/leds.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9315e63d3ced9c2bbdfd301d463cc91e6964a65f;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Robert Jarzmik --- diff --git a/arch/arm/mach-pxa/idp.c b/arch/arm/mach-pxa/idp.c index d1db32b1a2c6..88e0068f92a8 100644 --- a/arch/arm/mach-pxa/idp.c +++ b/arch/arm/mach-pxa/idp.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include