projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67af5eb
)
ARM: pxa: include linux/leds.h
author
Arnd Bergmann
<arnd@arndb.de>
Wed, 18 Jan 2017 16:49:24 +0000
(17:49 +0100)
committer
Robert Jarzmik
<robert.jarzmik@free.fr>
Wed, 18 Jan 2017 18:21:17 +0000
(19:21 +0100)
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>
arch/arm/mach-pxa/idp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/idp.c
b/arch/arm/mach-pxa/idp.c
index d1db32b1a2c613cbaf326f8300a24bd439bc91f2..88e0068f92a81c8c1f637809e0af16a493be0c35 100644
(file)
--- 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>