projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c362cb5
)
watchdog: xilinx: Read clock frequency directly from DT node
author
Michal Simek
<monstr@monstr.eu>
Thu, 21 Jun 2012 06:45:40 +0000
(08:45 +0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Mon, 23 Jul 2012 10:47:00 +0000
(12:47 +0200)
Do not use clock-frequency property from parent node.
Use it from watchdog node.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-By: Alejandro Cabrera <acabrera@udio.cujae.edu.cu>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/of_xilinx_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/of_xilinx_wdt.c
b/drivers/watchdog/of_xilinx_wdt.c
index 55d2f66dbeae85eee71221cdda412f4484868dc6..294fb4e005219c2ee916d6b04bfce958cab714fb 100644
(file)
--- a/
drivers/watchdog/of_xilinx_wdt.c
+++ b/
drivers/watchdog/of_xilinx_wdt.c
@@
-297,7
+297,7
@@
static int __devinit xwdt_probe(struct platform_device *pdev)
no_timeout = 0;
- pfreq = (u32 *)of_get_property(pdev->dev.of_node
->parent
,
+ pfreq = (u32 *)of_get_property(pdev->dev.of_node,
"clock-frequency", NULL);
if (pfreq == NULL) {