diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-18 19:49:24 +0300 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2017-01-18 21:21:17 +0300 |
commit | 9315e63d3ced9c2bbdfd301d463cc91e6964a65f (patch) | |
tree | 72dcee85082d7ff8bcae50fe7807acd7d6d4dfed | |
parent | 67af5ebde1a4cd10e7bb663440de0773b7597c70 (diff) | |
download | linux-9315e63d3ced9c2bbdfd301d463cc91e6964a65f.tar.xz |
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>
-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> |