mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
The i.MX8M soc device is registered via platform_device_register_simple(),
so it is not associated with a Device Tree node and the imx8m_soc_driver
has no of_match_table.
As a result, device_get_match_data() always returns NULL when probing
the soc device.
Retrieve the match data directly from the machine compatible using
of_machine_get_match_data(imx8_soc_match), which provides the correct SoC
data.
Fixes:
|
||
|---|---|---|
| .. | ||
| imx93-src.c | ||
| Kconfig | ||
| Makefile | ||
| soc-imx.c | ||
| soc-imx8m.c | ||
| soc-imx9.c | ||