projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc2b02
)
drivers/rtc/rtc-imxdi.c: must include <linux/spinlock.h>
author
Jean Delvare
<
[email protected]
>
Thu, 20 Dec 2012 23:05:19 +0000
(15:05 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 21 Dec 2012 01:40:19 +0000
(17:40 -0800)
Add the missing header include for spinlocks, to avoid potential build
failures on specific architectures or configurations.
Signed-off-by: Jean Delvare <
[email protected]
>
Acked-by: Sascha Hauer <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-imxdi.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-imxdi.c
b/drivers/rtc/rtc-imxdi.c
index 18a4f0dd78a32cd9d2ff3a2c322cd22fa72113b0..8da7a5cf83c67cf66dd26dc9459b63cc884a54c4 100644
(file)
--- a/
drivers/rtc/rtc-imxdi.c
+++ b/
drivers/rtc/rtc-imxdi.c
@@
-36,6
+36,7
@@
#include <linux/platform_device.h>
#include <linux/rtc.h>
#include <linux/sched.h>
+#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/of.h>