> +static void *ft_finddevice_rel(const void *phandle, const char *name) > +{ > + return ft_find_device_rel(&cxt, phandle, name); > +} Seeing all these... wouldn't it be better to make "cxt" an implicit parameter to all the ft_ functions? It's not like you'll ever be dealing with more than one tree ;-) Segher