On Wed, 2010-03-17 at 23:18 -0700, David Miller wrote: > > It's not quite right to do partial name match. Entries in a > compatible > > list are meant to be matched whole. If a device is compatible with > both > > "foo" and "foo1", then the device should have both strings in its > > "compatible" property. > > > > Signed-off-by: Benjamin Herrenschmidt <[email protected]> > > (for patch description) > > Signed-off-by: Grant Likely <[email protected]> > > Acked-by: David S. Miller <[email protected]>
BTW. While at it... sparc still has it's override here to do partial match (strncmp iirc). Do you rely on it ? Or do you do that only to be case insensitive and the "n" is a result of history ? Cheers, Ben _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
