diff options
author | Jean Delvare <[email protected]> | 2012-12-20 15:05:19 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-12-20 17:40:19 -0800 |
commit | ba3f7a1765dc4095c757ac82eb14d6824c45e87d (patch) | |
tree | 01a0e0bfb9e365e4585761645add330a753258ee | |
parent | bcc2b02f4c1b36bc67272df7119b75bac78525ab (diff) |
drivers/rtc/rtc-imxdi.c: must include <linux/spinlock.h>
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]>
-rw-r--r-- | drivers/rtc/rtc-imxdi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 18a4f0dd78a3..8da7a5cf83c6 100644 --- 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> |