kernel: update linux 3.2 to 3.2.13 and refresh patches
[openwrt/staging/mkresin.git] / target / linux / lantiq / patches-3.2 / 0034-WDT-MIPS-lantiq-convert-watchdog-driver-to-clkdev-ap.patch
1 From ac9ded7942720231ed139ac0660e60a3a2f82b86 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 16 Feb 2012 20:17:50 +0100
4 Subject: [PATCH 34/70] WDT: MIPS: lantiq: convert watchdog driver to clkdev
5 api
6
7 Refrence the IO region clock via its new access function.
8
9 Signed-off-by: John Crispin <blogic@openwrt.org>
10 Cc: linux-watchdog@vger.kernel.org
11 ---
12 drivers/watchdog/lantiq_wdt.c | 2 +-
13 1 files changed, 1 insertions(+), 1 deletions(-)
14
15 --- a/drivers/watchdog/lantiq_wdt.c
16 +++ b/drivers/watchdog/lantiq_wdt.c
17 @@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pd
18 }
19
20 /* we do not need to enable the clock as it is always running */
21 - clk = clk_get(&pdev->dev, "io");
22 + clk = clk_get_io();
23 WARN_ON(!clk);
24 ltq_io_region_clk_rate = clk_get_rate(clk);
25 clk_put(clk);