[PATCH 16/18] bootwrapper: Add dt_ops methods.

Segher Boessenkool segher at kernel.crashing.org
Wed Jan 31 07:01:17 EST 2007


> +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




More information about the Linuxppc-dev mailing list