]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/prom.h
sdio: add SDIO_FBR_BASE(f) macro
[linux-2.6] / include / asm-powerpc / prom.h
index 75b1144ca580abade65b0887efac6f8ce41420cb..672083787a1d8eb1664ba77c5509cf58e708cd96 100644 (file)
@@ -26,6 +26,7 @@
 
 #define of_compat_cmp(s1, s2, l)       strncasecmp((s1), (s2), (l))
 #define of_prop_cmp(s1, s2)            strcmp((s1), (s2))
+#define of_node_cmp(s1, s2)            strcasecmp((s1), (s2))
 
 /* Definitions used by the flattened device tree */
 #define OF_DT_HEADER           0xd00dfeed      /* marker */
@@ -138,7 +139,7 @@ extern unsigned long __init of_get_flat_dt_root(void);
 
 /* For updating the device tree at runtime */
 extern void of_attach_node(struct device_node *);
-extern void of_detach_node(const struct device_node *);
+extern void of_detach_node(struct device_node *);
 
 /* Other Prototypes */
 extern void finish_device_tree(void);