diff options
| author | Ridham Khurana <khurana.ridham222@gmail.com> | 2026-09-21 20:41:47 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-10-01 13:42:16 +0200 |
| commit | 59797443846bc2451c35816026bbb79d281c9f23 (patch) | |
| tree | cea964184de03d42bf86c3abe9ccb4adafecbfb0 /tools/perf/scripts/python | |
| parent | 829945bdb7b3aee2e4381325b04b0b1d313292f1 (diff) | |
platform: cznic: turris-omnia-mcu: Add missing MODULE_DEVICE_TABLE()
The driver wires of_omnia_mcu_match into the i2c_driver's
.of_match_table but never exports it with MODULE_DEVICE_TABLE(), so no
module alias is generated and the module is not autoloaded when the MCU
is probed from the device tree.
Found by code inspection. Not tested on the hardware itself; with the
module built, the alias lookup
$ modprobe -R 'of:Nsystem-controllerT(null)Ccznic,turris-omnia-mcu'
reports no match before this change and resolves to turris_omnia_mcu
after it.
Fixes: 992f1a3d4e88 ("platform: cznic: Add preliminary support for Turris Omnia MCU")
Signed-off-by: Ridham Khurana <khurana.ridham222@gmail.com>
Link: https://patch.msgid.link/20260921204204.797294-1-khurana.ridham222@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
