patch-2.3.20 linux/include/asm-ppc/prom.h

Next file: linux/include/asm-ppc/rpxclassic.h
Previous file: linux/include/asm-ppc/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.19/linux/include/asm-ppc/prom.h linux/include/asm-ppc/prom.h
@@ -65,6 +65,7 @@
 extern void abort(void);
 extern void prom_init(int, int, prom_entry);
 extern void prom_print(const char *msg);
+extern void relocate_nodes(void);
 extern void finish_device_tree(void);
 extern struct device_node *find_devices(const char *name);
 extern struct device_node *find_type_devices(const char *type);
@@ -72,7 +73,8 @@
 extern struct device_node *find_compatible_devices(const char *type,
 						   const char *compat);
 extern struct device_node *find_phandle(phandle);
-extern int device_is_compatible(struct device_node *device, const char* compat);
+extern int device_is_compatible(struct device_node *device, const char *);
+extern int machine_is_compatible(const char *compat);
 extern unsigned char *get_property(struct device_node *node, const char *name,
 				   int *lenp);
 extern void print_properties(struct device_node *node);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)