On Sat, 06 Aug 2022 17:10:56 +0300, Vladimir Oltean wrote: > Modules such as net/dsa/dsa_core.ko might want to iterate through an > array of compatible strings for things such as validation (or rather, > skipping it for some potentially broken drivers). > > of_device_is_compatible() is exported, by of_device_compatible_match() > isn't. Export the latter as well, so we don't have to open-code the > iteration. > > Cc: Rob Herring <robh+dt@xxxxxxxxxx> > Cc: Frank Rowand <frowand.list@xxxxxxxxx> > Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx> > --- > v1->v2: patch is new > v2->v3: none > > drivers/of/base.c | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring <robh@xxxxxxxxxx>