projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2fe6c
)
apbuart: Use of_find_node_by_path to find root node.
author
Kristoffer Glembo
<kristoffer@gaisler.com>
Fri, 13 Nov 2009 21:25:06 +0000
(13:25 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 13 Nov 2009 21:25:06 +0000
(13:25 -0800)
Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/apbuart.c
patch
|
blob
|
history
diff --git
a/drivers/serial/apbuart.c
b/drivers/serial/apbuart.c
index a1e95033da5b671157bceec30641dee617a621c4..fe91319b5f65b30a15c5b89baea504c27871b6e6 100644
(file)
--- a/
drivers/serial/apbuart.c
+++ b/
drivers/serial/apbuart.c
@@
-609,7
+609,7
@@
static void grlib_apbuart_configure(void)
return;
/* Get bus frequency */
- rp = of_find_node_by_
name(NULL,
"/");
+ rp = of_find_node_by_
path(
"/");
rp = of_get_next_child(rp, NULL);
prop = of_get_property(rp, "clock-frequency", NULL);
freq_khz = *prop;