--- zzzz-none-000/linux-2.6.19.2/arch/powerpc/kernel/prom.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/arch/powerpc/kernel/prom.c 2007-01-11 07:38:19.000000000 +0000 @@ -1014,7 +1014,7 @@ /** Checks if the given "compat" string matches one of the strings in * the device's "compatible" property */ -int device_is_compatible(const struct device_node *device, const char *compat) +int device_is_compatible(struct device_node *device, const char *compat) { const char* cp; int cplen, l; @@ -1491,8 +1491,7 @@ __initcall(prom_reconfig_setup); #endif -struct property *of_find_property(const struct device_node *np, - const char *name, +struct property *of_find_property(struct device_node *np, const char *name, int *lenp) { struct property *pp; @@ -1513,8 +1512,7 @@ * Find a property with a given name for a given node * and return the value. */ -const void *get_property(const struct device_node *np, const char *name, - int *lenp) +const void *get_property(struct device_node *np, const char *name, int *lenp) { struct property *pp = of_find_property(np,name,lenp); return pp ? pp->value : NULL;