]> git.sur5r.net Git - u-boot/commitdiff
blackfin: Fix warning about undefined function
authorVasili Galka <vvv444@gmail.com>
Mon, 30 Jun 2014 09:59:56 +0000 (12:59 +0300)
committerTom Rini <trini@ti.com>
Mon, 7 Jul 2014 23:47:09 +0000 (19:47 -0400)
get_sclk() was not defined in bfin_wdt.c, include the corresponding header.

Cc: Sonic Zhang <sonic.adi@gmail.com>
Signed-off-by: Vasili Galka <vvv444@gmail.com>
drivers/watchdog/bfin_wdt.c

index 7a6756b2e52abdbfef6d19c205ba4ae906eb1ba9..6a8db59fdff1b96da21a0280567a3def1a524890 100644 (file)
@@ -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)