diff options
| author | Jean Delvare <[email protected]> | 2012-12-20 23:05:19 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-21 01:40:19 +0000 |
| commit | ba3f7a1765dc4095c757ac82eb14d6824c45e87d (patch) | |
| tree | 01a0e0bfb9e365e4585761645add330a753258ee /drivers/rtc/rtc-imxdi.c | |
| parent | mm: cma: WARN if freed memory is still in use (diff) | |
| download | kernel-ba3f7a1765dc4095c757ac82eb14d6824c45e87d.tar.gz kernel-ba3f7a1765dc4095c757ac82eb14d6824c45e87d.zip | |
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]>
Diffstat (limited to 'drivers/rtc/rtc-imxdi.c')
| -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> |
