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 *np); > extern int of_n_size_cells(struct device_node *np); > +extern const struct of_device_id *of_match_node( > + const struct of_device_id *matches, const struct device_node *node); > > #endif /* _LINUX_OF_H */ > diff --git a/include/linux/of_device.h b/include/linux/of_device.h > index 212bffb..6dc1195 100644 > --- a/include/linux/of_device.h > +++ b/include/linux/of_device.h > @@ -10,8 +10,6 @@ > > #define to_of_device(d) container_of(d, struct of_device, dev) > > -extern const struct of_device_id *of_match_node( > - const struct of_device_id *matches, const struct device_node *node); > extern const struct of_device_id *of_match_device( > const struct of_device_id *matches, const struct of_device *dev);
So you should really change all the callers of of_match_node to include linux/of.h. -- Cheers, Stephen Rothwell [EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/
pgpL4PLlvOpOF.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev