WSL2-Linux-Kernel/drivers/of
Stuart Yoder 883c2cfc8b of/flattree: fix of_flat_dt_is_compatible() to match the full compatible string
With the current string comparison, a device tree compatible of "foo-bar"
would match as compatible with a driver looking for "foo".  This patch
fixes the function to use the of_compat_cmp() macro so that it does the
right thing on all platforms (If sparc ever uses this code, it will still
want the strncasecmp() behaviour).

Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2010-07-24 16:51:51 -06:00
..
Kconfig proc: unify PROC_DEVICETREE config 2010-07-05 16:46:43 -06:00
Makefile of/address: merge of_iomap() 2010-07-05 16:14:26 -06:00
address.c of: Use full node name in resource structures 2010-07-05 16:14:27 -06:00
base.c of: refactor of_modalias_node() and remove explicit match table. 2010-07-05 16:14:52 -06:00
device.c of/device: Replace of_device with platform_device in includes and core code 2010-07-24 09:58:21 -06:00
fdt.c of/flattree: fix of_flat_dt_is_compatible() to match the full compatible string 2010-07-24 16:51:51 -06:00
gpio.c of/gpio: fix of_gpio includes 2010-07-05 16:14:44 -06:00
irq.c of: Use full node name in resource structures 2010-07-05 16:14:27 -06:00
of_i2c.c of/i2c: Generalize OF support 2010-07-05 16:14:52 -06:00
of_mdio.c of/irq: Move irq_of_parse_and_map() to common code 2010-06-28 12:41:33 -07:00
of_spi.c of/irq: Move irq_of_parse_and_map() to common code 2010-06-28 12:41:33 -07:00
platform.c of: remove of_default_bus_ids 2010-07-24 09:58:22 -06:00