aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/pnx4008_wdt.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-20 08:07:28 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-12 12:32:37 -0500
commit9bb787f435c86ffed079b66efa3ef6a8c577568c (patch)
tree0d60a1e5236b6318e1c6d190258481df2a3e7927 /drivers/watchdog/pnx4008_wdt.c
parent0c452df9f08d4f0b829802cec3501d987390ada2 (diff)
ARM: PNX4008: convert watchdog clocks to match by device only
Acked-by: Wim Van Sebroeck <wim@iguana.be> Acked-by: Vitaly Wool <vitalywool@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/watchdog/pnx4008_wdt.c')
-rw-r--r--drivers/watchdog/pnx4008_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c
index 430a5848a9a5..8c5367fc4e50 100644
--- a/drivers/watchdog/pnx4008_wdt.c
+++ b/drivers/watchdog/pnx4008_wdt.c
@@ -273,7 +273,7 @@ static int __devinit pnx4008_wdt_probe(struct platform_device *pdev)
273 } 273 }
274 wdt_base = (void __iomem *)IO_ADDRESS(res->start); 274 wdt_base = (void __iomem *)IO_ADDRESS(res->start);
275 275
276 wdt_clk = clk_get(&pdev->dev, "wdt_ck"); 276 wdt_clk = clk_get(&pdev->dev, NULL);
277 if (IS_ERR(wdt_clk)) { 277 if (IS_ERR(wdt_clk)) {
278 ret = PTR_ERR(wdt_clk); 278 ret = PTR_ERR(wdt_clk);
279 release_resource(wdt_mem); 279 release_resource(wdt_mem);