aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-27 02:45:29 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-27 02:45:29 -0400
commitbf20a0000377f7bdeb42b78b10ed578deb3d63f1 (patch)
tree497ba88015f57fde14b30dc24e8eb6ca7327f631
parentcb4ab974ae0bff3f49086090a1a50373c5edc8f4 (diff)
powerpc: undeprecate the old OF device tree accessors for now
The recent addition of __deprecated to the declarations for find_devices etc. produces a whole pile of warnings from the ppc32 code. Since those functions still work perfectly well on ppc32, which doesn't have hotplug support for anything in the OF device tree, and we don't have time to fix that code now, remove the __deprecated markings for now. Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--include/asm-powerpc/prom.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h
index 49d2c7455f8e..3a0104fa0462 100644
--- a/include/asm-powerpc/prom.h
+++ b/include/asm-powerpc/prom.h
@@ -155,12 +155,12 @@ static inline void set_node_proc_entry(struct device_node *dn, struct proc_dir_e
155 155
156 156
157/* OBSOLETE: Old style node lookup */ 157/* OBSOLETE: Old style node lookup */
158extern __deprecated struct device_node *find_devices(const char *name); 158extern struct device_node *find_devices(const char *name);
159extern __deprecated struct device_node *find_type_devices(const char *type); 159extern struct device_node *find_type_devices(const char *type);
160extern __deprecated struct device_node *find_path_device(const char *path); 160extern struct device_node *find_path_device(const char *path);
161extern __deprecated struct device_node *find_compatible_devices(const char *type, 161extern struct device_node *find_compatible_devices(const char *type,
162 const char *compat); 162 const char *compat);
163extern __deprecated struct device_node *find_all_nodes(void); 163extern struct device_node *find_all_nodes(void);
164 164
165/* New style node lookup */ 165/* New style node lookup */
166extern struct device_node *of_find_node_by_name(struct device_node *from, 166extern struct device_node *of_find_node_by_name(struct device_node *from,