MIPS: JZ4740: Export symbols to the watchdog driver module
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>
This commit is contained in:
parent
f1b6a5054c
commit
aa7ce1c303
|
@ -27,11 +27,13 @@ void jz4740_timer_enable_watchdog(void)
|
||||||
{
|
{
|
||||||
writel(BIT(16), jz4740_timer_base + JZ_REG_TIMER_STOP_CLEAR);
|
writel(BIT(16), jz4740_timer_base + JZ_REG_TIMER_STOP_CLEAR);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(jz4740_timer_enable_watchdog);
|
||||||
|
|
||||||
void jz4740_timer_disable_watchdog(void)
|
void jz4740_timer_disable_watchdog(void)
|
||||||
{
|
{
|
||||||
writel(BIT(16), jz4740_timer_base + JZ_REG_TIMER_STOP_SET);
|
writel(BIT(16), jz4740_timer_base + JZ_REG_TIMER_STOP_SET);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(jz4740_timer_disable_watchdog);
|
||||||
|
|
||||||
void __init jz4740_timer_init(void)
|
void __init jz4740_timer_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue