diff options
| author | David S. Miller <davem@sunset.davemloft.net> | 2007-08-07 21:46:36 -0400 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2007-08-07 21:46:36 -0400 |
| commit | 46bcea7751efc867ae4b073c99ad1d137a475bc0 (patch) | |
| tree | 6600d52d5131d2ed1eb95640aa3604aecbcbc4af /include | |
| parent | 4a2a4df7b6db25df8f3d5cc6dd0b096119359d92 (diff) | |
[SPARC]: Centralize find_in_proplist() instead of duplicating N times.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-sparc/prom.h | 1 | ||||
| -rw-r--r-- | include/asm-sparc64/prom.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h index 350676c589f9..71f2a1998324 100644 --- a/include/asm-sparc/prom.h +++ b/include/asm-sparc/prom.h | |||
| @@ -67,6 +67,7 @@ extern int of_set_property(struct device_node *node, const char *name, void *val | |||
| 67 | extern int of_getintprop_default(struct device_node *np, | 67 | extern int of_getintprop_default(struct device_node *np, |
| 68 | const char *name, | 68 | const char *name, |
| 69 | int def); | 69 | int def); |
| 70 | extern int of_find_in_proplist(const char *list, const char *match, int len); | ||
| 70 | 71 | ||
| 71 | extern void prom_build_devicetree(void); | 72 | extern void prom_build_devicetree(void); |
| 72 | 73 | ||
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index 31dcb92fbae0..07843f9f05df 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h | |||
| @@ -76,6 +76,7 @@ extern int of_set_property(struct device_node *node, const char *name, void *val | |||
| 76 | extern int of_getintprop_default(struct device_node *np, | 76 | extern int of_getintprop_default(struct device_node *np, |
| 77 | const char *name, | 77 | const char *name, |
| 78 | int def); | 78 | int def); |
| 79 | extern int of_find_in_proplist(const char *list, const char *match, int len); | ||
| 79 | 80 | ||
| 80 | extern void prom_build_devicetree(void); | 81 | extern void prom_build_devicetree(void); |
| 81 | 82 | ||
