kernel: fix mpcore watchdog symbol export
SVN-Revision: 35907
This commit is contained in:
parent
9c8ee9c264
commit
85348d602e
1 changed files with 10 additions and 2 deletions
|
@ -39,7 +39,15 @@ Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
|
||||||
void twd_local_timer_of_register(void);
|
void twd_local_timer_of_register(void);
|
||||||
--- a/arch/arm/kernel/smp_twd.c
|
--- a/arch/arm/kernel/smp_twd.c
|
||||||
+++ b/arch/arm/kernel/smp_twd.c
|
+++ b/arch/arm/kernel/smp_twd.c
|
||||||
@@ -376,6 +376,13 @@ int __init twd_local_timer_register(stru
|
@@ -10,6 +10,7 @@
|
||||||
|
*/
|
||||||
|
#include <linux/init.h>
|
||||||
|
#include <linux/kernel.h>
|
||||||
|
+#include <linux/export.h>
|
||||||
|
#include <linux/clk.h>
|
||||||
|
#include <linux/delay.h>
|
||||||
|
#include <linux/device.h>
|
||||||
|
@@ -376,6 +377,13 @@ int __init twd_local_timer_register(stru
|
||||||
return twd_local_timer_common_register();
|
return twd_local_timer_common_register();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +63,7 @@ Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
|
||||||
{ .compatible = "arm,cortex-a9-twd-timer", },
|
{ .compatible = "arm,cortex-a9-twd-timer", },
|
||||||
--- a/drivers/watchdog/mpcore_wdt.c
|
--- a/drivers/watchdog/mpcore_wdt.c
|
||||||
+++ b/drivers/watchdog/mpcore_wdt.c
|
+++ b/drivers/watchdog/mpcore_wdt.c
|
||||||
@@ -101,9 +101,7 @@ static void mpcore_wdt_keepalive(struct
|
@@ -101,9 +101,7 @@ static void mpcore_wdt_keepalive(struct
|
||||||
|
|
||||||
spin_lock(&wdt_lock);
|
spin_lock(&wdt_lock);
|
||||||
/* Assume prescale is set to 256 */
|
/* Assume prescale is set to 256 */
|
||||||
|
|
Loading…
Reference in a new issue