[PATCH 15/19] bootwrapper: Add dt_ops methods.

Scott Wood scottwood at freescale.com
Thu Mar 15 03:02:55 EST 2007


On Wed, Mar 14, 2007 at 03:33:24PM +1100, Paul Mackerras wrote:
> Scott Wood writes:
> 
> > +static inline void *find_node_by_prop_value_str(const void *prev,
> > +                                                const char *propname,
> > +                                                const char *propval)
> 
> That name sure is a mouthful.  

I had it as find_prop_str() before, but someone asked for a more
descriptive name.

> Since we mostly (only?) use it with propname == "device_type", why not
> make a helper with a nice, (relatively) short name like
> "find_node_by_type" for that case?

OK.

-Scott



More information about the Linuxppc-dev mailing list