aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-09 18:51:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-03-09 18:51:39 +0000
commit85348d602e2c4b383fa0bec95fb97d9d79094743 (patch)
tree2a338a01775186a61a9a8bb14c441095abc3b475 /target/linux/generic
parent9c8ee9c2642555637eb7f12a72c3aea1ad5e62d6 (diff)
downloadupstream-85348d602e2c4b383fa0bec95fb97d9d79094743.tar.gz
upstream-85348d602e2c4b383fa0bec95fb97d9d79094743.tar.bz2
upstream-85348d602e2c4b383fa0bec95fb97d9d79094743.zip
kernel: fix mpcore watchdog symbol export
SVN-Revision: 35907
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-3.8/992-mpcore_wdt_fix_watchdog_counter_loading.patch12
1 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.8/992-mpcore_wdt_fix_watchdog_counter_loading.patch b/target/linux/generic/patches-3.8/992-mpcore_wdt_fix_watchdog_counter_loading.patch
index 8d7390ebda..965df667b3 100644
--- a/target/linux/generic/patches-3.8/992-mpcore_wdt_fix_watchdog_counter_loading.patch
+++ b/target/linux/generic/patches-3.8/992-mpcore_wdt_fix_watchdog_counter_loading.patch
@@ -39,7 +39,15 @@ Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
void twd_local_timer_of_register(void);
--- a/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();
}
@@ -55,7 +63,7 @@ Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
{ .compatible = "arm,cortex-a9-twd-timer", },
--- a/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);
/* Assume prescale is set to 256 */