* [PATCH] ARM: fix watchdog build failure in s3c2410 platform
@ 2012-05-03 22:19 Paul Gortmaker
0 siblings, 0 replies; only message in thread
From: Paul Gortmaker @ 2012-05-03 22:19 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-03 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 22:19 [PATCH] ARM: fix watchdog build failure in s3c2410 platform Paul Gortmaker
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).