summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-01-18 17:49:24 +0100
committerRobert Jarzmik <robert.jarzmik@free.fr>2017-01-18 19:21:17 +0100
commit9315e63d3ced9c2bbdfd301d463cc91e6964a65f (patch)
tree72dcee85082d7ff8bcae50fe7807acd7d6d4dfed /arch/arm/mach-pxa
parent67af5ebde1a4cd10e7bb663440de0773b7597c70 (diff)
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 <arnd@arndb.de> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/idp.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
+#include <linux/leds.h>
#include <linux/platform_device.h>
#include <linux/fb.h>