Skip to contentSkip to conversation

blackfin: Fix warning about undefined function

PATCH In review Vasili Galka 2 participants 2 messages Jun 30, 2014 – Jul 8, 2014 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blackfin: Fix warning about undefined function

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

---
 drivers/watchdog/bfin_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/watchdog/bfin_wdt.c +1 -0
index 7a6756b..6a8db59 100644
@@ -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
#1 lore raw
Quoted 4 lines · Vasili Galka

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

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>