MIPS: JZ4740: Export symbols to the watchdog driver module
authorRalf Baechle <ralf@linux-mips.org>
Mon, 18 Apr 2011 10:19:32 +0000 (11:19 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 May 2011 17:15:26 +0000 (18:15 +0100)
  MODPOST 356 modules
ERROR: "jz4740_timer_disable_watchdog" [drivers/watchdog/jz4740_wdt.ko] undefine
d!
ERROR: "jz4740_timer_enable_watchdog" [drivers/watchdog/jz4740_wdt.ko] undefined
!
make[1]: *** [__modpost] Error 1

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/timer.c

index b2c01512905587fb775869396aeb5719b14a94a9..654d5c3900b66282a06c0a0a6a02383a957c3a72 100644 (file)
@@ -27,11 +27,13 @@ void jz4740_timer_enable_watchdog(void)
 {
        writel(BIT(16), jz4740_timer_base + JZ_REG_TIMER_STOP_CLEAR);
 }
+EXPORT_SYMBOL_GPL(jz4740_timer_enable_watchdog);
 
 void jz4740_timer_disable_watchdog(void)
 {
        writel(BIT(16), jz4740_timer_base + JZ_REG_TIMER_STOP_SET);
 }
+EXPORT_SYMBOL_GPL(jz4740_timer_disable_watchdog);
 
 void __init jz4740_timer_init(void)
 {