Browse Source

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>
Arnd Bergmann 8 years ago
parent
commit
9315e63d3c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/mach-pxa/idp.c

+ 1 - 0
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>