mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 14:09:22 +02:00
4f72aeefd8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
26 lines
812 B
Diff
26 lines
812 B
Diff
From 7971cef3f4036da74066aa4ca9b78fd1c9573a6c Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <blogic@openwrt.org>
|
|
Date: Thu, 16 Feb 2012 20:17:50 +0100
|
|
Subject: [PATCH 30/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(-)
|
|
|
|
--- a/drivers/watchdog/lantiq_wdt.c
|
|
+++ b/drivers/watchdog/lantiq_wdt.c
|
|
@@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pd
|
|
}
|
|
|
|
/* 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);
|