[U-Boot] [PATCH] blackfin: Fix warning about undefined function

Vasili Galka vvv444 at gmail.com
Mon Jun 30 11:59:56 CEST 2014


get_sclk() was not defined in bfin_wdt.c, include the corresponding header.

Cc: Sonic Zhang <sonic.adi at gmail.com>
Signed-off-by: Vasili Galka <vvv444 at gmail.com>
---
 drivers/watchdog/bfin_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/watchdog/bfin_wdt.c b/drivers/watchdog/bfin_wdt.c
index 7a6756b..6a8db59 100644
--- a/drivers/watchdog/bfin_wdt.c
+++ b/drivers/watchdog/bfin_wdt.c
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <watchdog.h>
 #include <asm/blackfin.h>
+#include <asm/clock.h>
 #include <asm/mach-common/bits/watchdog.h>
 
 void hw_watchdog_reset(void)
-- 
1.7.9



More information about the U-Boot mailing list