From: Jean Delvare <khali@linux-fr.org>
To: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sascha Hauer <s.hauer@pengutronix.de>,
rtc-linux@googlegroups.com, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] rtc: imx dryice: Must include <linux/spinlock.h>
Date: Sun, 16 Dec 2012 21:55:40 +0100 [thread overview]
Message-ID: <20121216215540.2b7abe15@endymion.delvare> (raw)
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
reply other threads:[~2012-12-16 20:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121216215540.2b7abe15@endymion.delvare \
--to=khali@linux-fr.org \
--cc=a.zummo@towertech.it \
--cc=linux-kernel@vger.kernel.org \
--cc=rtc-linux@googlegroups.com \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).