[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20121216215540.2b7abe15@endymion.delvare>
Date: Sun, 16 Dec 2012 21:55:40 +0100
From: Jean Delvare <khali@...ux-fr.org>
To: Alessandro Zummo <a.zummo@...ertech.it>
Cc: Sascha Hauer <s.hauer@...gutronix.de>, rtc-linux@...glegroups.com,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] rtc: imx dryice: 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 <khali@...ux-fr.org>
Acked-by: Sascha Hauer <s.hauer@...gutronix.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists