DORMANTno replies

[PATCH] ARM: fix watchdog build failure in s3c2410 platform

From: Paul Gortmaker <hidden>
Date: 2012-05-03 22:19:25
Subsystem: arm/samsung s3c, s5p and exynos arm architectures, the rest, watchdog device drivers · Maintainers: Krzysztof Kozlowski, Peter Griffin, Linus Torvalds, Wim Van Sebroeck, Guenter Roeck

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 <redacted>
Signed-off-by: Paul Gortmaker <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help