Commit c4c31fe0 authored by David S. Miller's avatar David S. Miller

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent f6d0f9ea
...@@ -91,6 +91,7 @@ extern struct property *of_find_property(struct device_node *np, ...@@ -91,6 +91,7 @@ extern struct property *of_find_property(struct device_node *np,
extern int of_device_is_compatible(struct device_node *device, const char *); extern int of_device_is_compatible(struct device_node *device, const char *);
extern void *of_get_property(struct device_node *node, const char *name, extern void *of_get_property(struct device_node *node, const char *name,
int *lenp); 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_set_property(struct device_node *node, const char *name, void *val, int len);
extern int of_getintprop_default(struct device_node *np, extern int of_getintprop_default(struct device_node *np,
const char *name, const char *name,
......
...@@ -99,6 +99,7 @@ extern struct property *of_find_property(struct device_node *np, ...@@ -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 int of_device_is_compatible(struct device_node *device, const char *);
extern void *of_get_property(struct device_node *node, const char *name, extern void *of_get_property(struct device_node *node, const char *name,
int *lenp); 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_set_property(struct device_node *node, const char *name, void *val, int len);
extern int of_getintprop_default(struct device_node *np, extern int of_getintprop_default(struct device_node *np,
const char *name, const char *name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment