diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2012-10-02 12:58:46 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-11-14 20:56:52 -0500 |
commit | 79d1c712958f94372482ad74578b00f44e744c12 (patch) | |
tree | ed26a9e56c56502c6f30496e7cbc367b54d950e7 /include/linux/of.h | |
parent | 1cf3d8b3d24cd383ddfd5442c83ec5c355ffc2f7 (diff) |
powerpc+of: Rename the drivers/of prom_* functions to of_*
Rename the prom_*_property routines of the generic OF code to of_*_property.
This brings them in line with the naming used by the rest of the OF code.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Acked-by: Geoff Levand <geoff@infradead.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index fb5d87b66e3e..a093b2fe5dfb 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -268,10 +268,9 @@ extern int of_alias_get_id(struct device_node *np, const char *stem); | |||
268 | 268 | ||
269 | extern int of_machine_is_compatible(const char *compat); | 269 | extern int of_machine_is_compatible(const char *compat); |
270 | 270 | ||
271 | extern int prom_add_property(struct device_node* np, struct property* prop); | 271 | extern int of_add_property(struct device_node *np, struct property *prop); |
272 | extern int prom_remove_property(struct device_node *np, struct property *prop); | 272 | extern int of_remove_property(struct device_node *np, struct property *prop); |
273 | extern int prom_update_property(struct device_node *np, | 273 | extern int of_update_property(struct device_node *np, struct property *newprop); |
274 | struct property *newprop); | ||
275 | 274 | ||
276 | /* For updating the device tree at runtime */ | 275 | /* For updating the device tree at runtime */ |
277 | #define OF_RECONFIG_ATTACH_NODE 0x0001 | 276 | #define OF_RECONFIG_ATTACH_NODE 0x0001 |