aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.6/542-watchdog-bcm47xx_wdt.c-rename-ops-methods.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-06-12 14:48:45 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-06-12 14:48:45 +0000
commit87f994d16d4bf80a5c7104b2ee0647df6f92d5fd (patch)
tree2497c9379a7b0707664887456dc1846d1cdf8064 /target/linux/brcm47xx/patches-3.6/542-watchdog-bcm47xx_wdt.c-rename-ops-methods.patch
parent990423f3efad559289c3a084f2cb40a0c0f2834e (diff)
downloadupstream-87f994d16d4bf80a5c7104b2ee0647df6f92d5fd.tar.gz
upstream-87f994d16d4bf80a5c7104b2ee0647df6f92d5fd.tar.bz2
upstream-87f994d16d4bf80a5c7104b2ee0647df6f92d5fd.zip
brcm47xx: remove support for kernel 3.6
SVN-Revision: 36927
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/542-watchdog-bcm47xx_wdt.c-rename-ops-methods.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.6/542-watchdog-bcm47xx_wdt.c-rename-ops-methods.patch99
1 files changed, 0 insertions, 99 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/542-watchdog-bcm47xx_wdt.c-rename-ops-methods.patch b/target/linux/brcm47xx/patches-3.6/542-watchdog-bcm47xx_wdt.c-rename-ops-methods.patch
deleted file mode 100644
index dcabc1b3d3..0000000000
--- a/target/linux/brcm47xx/patches-3.6/542-watchdog-bcm47xx_wdt.c-rename-ops-methods.patch
+++ /dev/null
@@ -1,99 +0,0 @@
---- a/drivers/watchdog/bcm47xx_wdt.c
-+++ b/drivers/watchdog/bcm47xx_wdt.c
-@@ -30,7 +30,7 @@
- #define DRV_NAME "bcm47xx_wdt"
-
- #define WDT_DEFAULT_TIME 30 /* seconds */
--#define WDT_MAX_TIME 255 /* seconds */
-+#define WDT_SOFTTIMER_MAX 255 /* seconds */
-
- static int wdt_time = WDT_DEFAULT_TIME;
- static bool nowayout = WATCHDOG_NOWAYOUT;
-@@ -49,7 +49,7 @@ static inline struct bcm47xx_wdt *bcm47x
- return container_of(wdd, struct bcm47xx_wdt, wdd);
- }
-
--static void bcm47xx_timer_tick(unsigned long data)
-+static void bcm47xx_wdt_soft_timer_tick(unsigned long data)
- {
- struct bcm47xx_wdt *wdt = (struct bcm47xx_wdt *)data;
- u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms);
-@@ -62,7 +62,7 @@ static void bcm47xx_timer_tick(unsigned
- }
- }
-
--static int bcm47xx_wdt_keepalive(struct watchdog_device *wdd)
-+static int bcm47xx_wdt_soft_keepalive(struct watchdog_device *wdd)
- {
- struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd);
-
-@@ -71,17 +71,17 @@ static int bcm47xx_wdt_keepalive(struct
- return 0;
- }
-
--static int bcm47xx_wdt_start(struct watchdog_device *wdd)
-+static int bcm47xx_wdt_soft_start(struct watchdog_device *wdd)
- {
- struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd);
-
-- bcm47xx_wdt_keepalive(wdd);
-- bcm47xx_timer_tick((unsigned long)wdt);
-+ bcm47xx_wdt_soft_keepalive(wdd);
-+ bcm47xx_wdt_soft_timer_tick((unsigned long)wdt);
-
- return 0;
- }
-
--static int bcm47xx_wdt_stop(struct watchdog_device *wdd)
-+static int bcm47xx_wdt_soft_stop(struct watchdog_device *wdd)
- {
- struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd);
-
-@@ -91,12 +91,12 @@ static int bcm47xx_wdt_stop(struct watch
- return 0;
- }
-
--static int bcm47xx_wdt_set_timeout(struct watchdog_device *wdd,
-- unsigned int new_time)
-+static int bcm47xx_wdt_soft_set_timeout(struct watchdog_device *wdd,
-+ unsigned int new_time)
- {
-- if (new_time < 1 || new_time > WDT_MAX_TIME) {
-+ if (new_time < 1 || new_time > WDT_SOFTTIMER_MAX) {
- pr_warn("timeout value must be 1<=x<=%d, using %d\n",
-- WDT_MAX_TIME, new_time);
-+ WDT_SOFTTIMER_MAX, new_time);
- return -EINVAL;
- }
-
-@@ -122,12 +122,12 @@ static int bcm47xx_wdt_notify_sys(struct
- return NOTIFY_DONE;
- }
-
--static struct watchdog_ops bcm47xx_wdt_ops = {
-+static struct watchdog_ops bcm47xx_wdt_soft_ops = {
- .owner = THIS_MODULE,
-- .start = bcm47xx_wdt_start,
-- .stop = bcm47xx_wdt_stop,
-- .ping = bcm47xx_wdt_keepalive,
-- .set_timeout = bcm47xx_wdt_set_timeout,
-+ .start = bcm47xx_wdt_soft_start,
-+ .stop = bcm47xx_wdt_soft_stop,
-+ .ping = bcm47xx_wdt_soft_keepalive,
-+ .set_timeout = bcm47xx_wdt_soft_set_timeout,
- };
-
- static int __devinit bcm47xx_wdt_probe(struct platform_device *pdev)
-@@ -138,10 +138,10 @@ static int __devinit bcm47xx_wdt_probe(s
- if (!wdt)
- return -ENXIO;
-
-- setup_timer(&wdt->soft_timer, bcm47xx_timer_tick,
-+ setup_timer(&wdt->soft_timer, bcm47xx_wdt_soft_timer_tick,
- (long unsigned int)wdt);
-
-- wdt->wdd.ops = &bcm47xx_wdt_ops;
-+ wdt->wdd.ops = &bcm47xx_wdt_soft_ops;
- wdt->wdd.info = &bcm47xx_wdt_info;
- wdt->wdd.timeout = WDT_DEFAULT_TIME;
- ret = wdt->wdd.ops->set_timeout(&wdt->wdd, timeout);