Re: [RFC] Add of_find_matching_node() helper function

2008-01-07 Thread Stephen Rothwell
Hi Grant, On Mon, 07 Jan 2008 11:15:56 -0700 Grant Likely <[EMAIL PROTECTED]> wrote: > > +++ b/include/linux/of.h > @@ -60,5 +66,7 @@ extern const void *of_get_property(const struct device_node > *node, > int *lenp); > extern int of_n_addr_cells(struct device_node *

RE: [RFC] Add of_find_matching_node() helper function

2008-01-07 Thread Stephen Neuendorffer
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org > Subject: [RFC] Add of_find_matching_node() helper function > > From: Grant Likely <[EMAIL PROTECTED]> > > Similar to of_find_compatible_node(), of_find_matching_node() and > for_each_matching_node() al

[RFC] Add of_find_matching_node() helper function

2008-01-07 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> Similar to of_find_compatible_node(), of_find_matching_node() and for_each_matching_node() allow you to iterate over the device tree looking for specific nodes except that it accepts a of_device_id table instead of strings. This patch also moves of_match_nod