2012-04-12 12:33:56 +00:00
|
|
|
From f2a29d33abb24184f84533e2c6032d4b1c3fd346 Mon Sep 17 00:00:00 2001
|
2012-03-25 08:50:09 +00:00
|
|
|
From: John Crispin <blogic@openwrt.org>
|
|
|
|
Date: Thu, 16 Feb 2012 20:17:50 +0100
|
2012-04-12 12:33:56 +00:00
|
|
|
Subject: [PATCH 33/73] WDT: MIPS: lantiq: convert watchdog driver to clkdev
|
2012-03-25 08:50:09 +00:00
|
|
|
api
|
|
|
|
|
|
|
|
Refrence the IO region clock via its new access function.
|
|
|
|
|
|
|
|
Signed-off-by: John Crispin <blogic@openwrt.org>
|
|
|
|
Cc: linux-watchdog@vger.kernel.org
|
|
|
|
---
|
|
|
|
drivers/watchdog/lantiq_wdt.c | 2 +-
|
|
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
|
|
|
|
--- a/drivers/watchdog/lantiq_wdt.c
|
|
|
|
+++ b/drivers/watchdog/lantiq_wdt.c
|
2012-04-17 12:50:54 +00:00
|
|
|
@@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pd
|
2012-03-25 08:50:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* we do not need to enable the clock as it is always running */
|
|
|
|
- clk = clk_get(&pdev->dev, "io");
|
|
|
|
+ clk = clk_get_io();
|
|
|
|
WARN_ON(!clk);
|
|
|
|
ltq_io_region_clk_rate = clk_get_rate(clk);
|
|
|
|
clk_put(clk);
|