X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fprom.h;h=672083787a1d8eb1664ba77c5509cf58e708cd96;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=75b1144ca580abade65b0887efac6f8ce41420cb;hpb=581b605a83ec241a2aff8ef780e08b9414c8dfd8;p=linux-2.6 diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 75b1144ca5..672083787a 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h @@ -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);