]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
reset: imx: fix incorrect module device table
authorArnd Bergmann <arnd@arndb.de>
Fri, 14 Mar 2025 15:35:37 +0000 (16:35 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 14 Mar 2025 15:46:15 +0000 (16:46 +0100)
commitc361baf67200a79c878d72cc879b1217c52cec96
tree6c78ccb6bbde5d001587d914461ae3f9023f4323
parent6b64fde5c183b5ef5b0f0f7321408caf3b876187
reset: imx: fix incorrect module device table

The ID table is for of_device_id, not platform_device_id:

ERROR: modpost: drivers/reset/reset-imx-scu: type mismatch between imx_scu_reset_ids[] and MODULE_DEVICE_TABLE(platform, ...)

Fixes: 6b64fde5c183 ("reset: imx: Add SCU reset driver for i.MX8QXP and i.MX8QM")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250314153541.3555813-1-arnd@kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-imx-scu.c