diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-18 17:49:24 +0100 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2017-01-18 19:21:17 +0100 |
commit | 9315e63d3ced9c2bbdfd301d463cc91e6964a65f (patch) | |
tree | 72dcee85082d7ff8bcae50fe7807acd7d6d4dfed /arch/arm/mach-pxa/idp.c | |
parent | ARM: pxa: ezx: fix a910 camera data (diff) | |
download | linux-9315e63d3ced9c2bbdfd301d463cc91e6964a65f.tar.xz linux-9315e63d3ced9c2bbdfd301d463cc91e6964a65f.zip |
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/idp.c')
-rw-r--r-- | arch/arm/mach-pxa/idp.c | 1 |
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> |