[SPARC]: Add of_n_{addr,size}_cells().
[firefly-linux-kernel-4.4.55.git] / include / asm-sparc / prom.h
index f9cf44c0716428d56971062ab29db6a35164a290..7032d02d3197e584ba1b83b733634b8fe3dd0a95 100644 (file)
@@ -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);