lkml.org 
[lkml]   [2012]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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


\
 
 \ /
  Last update: 2012-12-16 22:21    [W:0.025 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site