]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: undeprecate the old OF device tree accessors for now
authorPaul Mackerras <paulus@samba.org>
Thu, 27 Oct 2005 06:45:29 +0000 (16:45 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 27 Oct 2005 06:45:29 +0000 (16:45 +1000)
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>
include/asm-powerpc/prom.h

index 49d2c7455f8e34cfcef9c23a28c0188b0d1106ff..3a0104fa0462a24802e85f8895cd4ed3994d6386 100644 (file)
@@ -155,12 +155,12 @@ static inline void set_node_proc_entry(struct device_node *dn, struct proc_dir_e
 
 
 /* OBSOLETE: Old style node lookup */
-extern __deprecated struct device_node *find_devices(const char *name);
-extern __deprecated struct device_node *find_type_devices(const char *type);
-extern __deprecated struct device_node *find_path_device(const char *path);
-extern __deprecated struct device_node *find_compatible_devices(const char *type,
+extern struct device_node *find_devices(const char *name);
+extern struct device_node *find_type_devices(const char *type);
+extern struct device_node *find_path_device(const char *path);
+extern struct device_node *find_compatible_devices(const char *type,
                                                   const char *compat);
-extern __deprecated struct device_node *find_all_nodes(void);
+extern struct device_node *find_all_nodes(void);
 
 /* New style node lookup */
 extern struct device_node *of_find_node_by_name(struct device_node *from,