projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SPARC]: Add of_n_{addr,size}_cells().
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-sparc64
/
prom.h
diff --git
a/include/asm-sparc64/prom.h
b/include/asm-sparc64/prom.h
index 265614d497c43990bc0087cee48d7c401986af79..4cecfe6d135d2fcd4536681f3628773559296085 100644
(file)
--- a/
include/asm-sparc64/prom.h
+++ b/
include/asm-sparc64/prom.h
@@
-101,6
+101,8
@@
extern int of_set_property(struct device_node *node, const char *name, void *val
extern int of_getintprop_default(struct device_node *np,
const char *name,
int def);
+extern int of_n_addr_cells(struct device_node *np);
+extern int of_n_size_cells(struct device_node *np);
extern void prom_build_devicetree(void);