0f6a9d5c7c
SVN-Revision: 31060
30 lines
933 B
Diff
30 lines
933 B
Diff
From ac9ded7942720231ed139ac0660e60a3a2f82b86 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <blogic@openwrt.org>
|
|
Date: Thu, 16 Feb 2012 20:17:50 +0100
|
|
Subject: [PATCH 34/70] WDT: MIPS: lantiq: convert watchdog driver to clkdev
|
|
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(-)
|
|
|
|
diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c
|
|
index 179bf98..da2b09f 100644
|
|
--- a/drivers/watchdog/lantiq_wdt.c
|
|
+++ b/drivers/watchdog/lantiq_wdt.c
|
|
@@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pdev)
|
|
}
|
|
|
|
/* 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);
|
|
--
|
|
1.7.7.1
|
|
|