diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-02 03:10:25 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-03-03 00:22:53 +0100 |
commit | c4c31fe0e2298529afa1357ebd9dad54b44c4e19 (patch) | |
tree | 633e20f6b279673c8e9edcb8bf029f77e235a1ca /include/asm-sparc64/prom.h | |
parent | [SPARC]: Provide pci_device_to_OF_node() just like powerpc. (diff) | |
download | linux-c4c31fe0e2298529afa1357ebd9dad54b44c4e19.tar.xz linux-c4c31fe0e2298529afa1357ebd9dad54b44c4e19.zip |
[SPARC]: Provide 'get_property()' alias for of_get_property().
Another powerpc compatibility item, this will allow us to share
more code with them.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/prom.h')
-rw-r--r-- | include/asm-sparc64/prom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index 99671ed6625d..0eca2d98627f 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h @@ -99,6 +99,7 @@ extern struct property *of_find_property(struct device_node *np, extern int of_device_is_compatible(struct device_node *device, const char *); extern void *of_get_property(struct device_node *node, const char *name, int *lenp); +#define get_property(node,name,lenp) of_get_property(node,name,lenp) extern int of_set_property(struct device_node *node, const char *name, void *val, int len); extern int of_getintprop_default(struct device_node *np, const char *name, |