* [PATCH] rtc: imx dryice: Must include <linux/spinlock.h>
@ 2012-12-16 20:55 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2012-12-16 20:55 UTC (permalink / raw)
To: Alessandro Zummo; +Cc: Sascha Hauer, rtc-linux, LKML
Add the missing header include for spinlocks, to avoid potential build
failures on specific architectures or configurations.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/rtc/rtc-imxdi.c | 1 +
1 file changed, 1 insertion(+)
--- linux-3.8-rc0.orig/drivers/rtc/rtc-imxdi.c 2012-12-16 21:23:57.415274494 +0100
+++ linux-3.8-rc0/drivers/rtc/rtc-imxdi.c 2012-12-16 21:50:48.324778700 +0100
@@ -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>
/* DryIce Register Definitions */
--
Jean Delvare
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-16 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-16 20:55 [PATCH] rtc: imx dryice: Must include <linux/spinlock.h> Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).