mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
apbuart: Use of_find_node_by_path to find root node.
Signed-off-by: Kristoffer Glembo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8a2fe6c76e
commit
4edd5ad0f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue