[POWERPC] Remove old interface find_path_device
Replaced by of_find_node_by_path. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
112466b4d0
commit
8c8dc32248
@@ -899,7 +899,7 @@ static int get_system_info(void)
|
||||
const char *id, *model, *name;
|
||||
const unsigned int *num;
|
||||
|
||||
rootdn = find_path_device("/");
|
||||
rootdn = of_find_node_by_path("/");
|
||||
if (!rootdn)
|
||||
return -ENOENT;
|
||||
|
||||
@@ -916,6 +916,7 @@ static int get_system_info(void)
|
||||
if (num)
|
||||
partition_number = *num;
|
||||
|
||||
of_node_put(rootdn);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user