X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=include%2Fasm-sparc64%2Fprom.h;h=e83896f3c141a3178c791be8dcf8c0b180b5aa98;hp=6a5e2405cbf4e87c12ebb2f3bd1ba3e5e5c5b7be;hb=e679c5f445fe142940e0962de9c5c82f10d9357c;hpb=581b605a83ec241a2aff8ef780e08b9414c8dfd8 diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index 6a5e2405cbf4..e83896f3c141 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h @@ -78,6 +78,15 @@ extern int of_getintprop_default(struct device_node *np, extern void prom_build_devicetree(void); +/* Dummy ref counting routines - to be implemented later */ +static inline struct device_node *of_node_get(struct device_node *node) +{ + return node; +} +static inline void of_node_put(struct device_node *node) +{ +} + /* * NB: This is here while we transition from using asm/prom.h * to linux/of.h