blackfin: Fix warning about undefined function
PATCH 1/1 blackfin: Fix warning about undefined function
get_sclk() was not defined in bfin_wdt.c, include the corresponding header.
Cc Sonic Zhang <[email protected]>
Signed-off-by Vasili Galka <[email protected]>
--- drivers/watchdog/bfin_wdt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/watchdog/bfin_wdt.c +1 -0
@@ -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 )
Signature · 1 line
1.7.9
Quoted 4 lines · Vasili Galka
get_sclk()was not defined inbfin_wdt.c, include the corresponding header.Cc Sonic Zhang <[email protected]>Signed-off-by Vasili Galka <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140707/0fc55f5d/attachment.pgp>