From: paul.gortmaker@windriver.com (Paul Gortmaker)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: fix watchdog build failure in s3c2410 platform
Date: Thu, 3 May 2012 18:19:25 -0400 [thread overview]
Message-ID: <1336083565-29093-1-git-send-email-paul.gortmaker@windriver.com> (raw)
Commit 4c1134cc961f825370dd9f84ce0169bd0ed97957 (linux-next)
"watchdog: s3c2410-wdt: Use of_match_ptr()."
caused a compile failure because of a missing header include:
drivers/watchdog/s3c2410_wdt.c:517:3: error: implicit declaration of
function 'of_match_ptr' [-Werror=implicit-function-declaration]
Cc: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c
index 04e5a6d..a76f89e 100644
--- a/drivers/watchdog/s3c2410_wdt.c
+++ b/drivers/watchdog/s3c2410_wdt.c
@@ -37,6 +37,7 @@
#include <linux/clk.h>
#include <linux/uaccess.h>
#include <linux/io.h>
+#include <linux/of.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <linux/err.h>
--
1.7.9.1
reply other threads:[~2012-05-03 22:19 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=1336083565-29093-1-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).