Skip to content

Commit c361baf

Browse files
arndbpH5
authored andcommitted
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: 6b64fde ("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>
1 parent 6b64fde commit c361baf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/reset/reset-imx-scu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static const struct of_device_id imx_scu_reset_ids[] = {
8585
{ .compatible = "fsl,imx-scu-reset", },
8686
{}
8787
};
88-
MODULE_DEVICE_TABLE(platform, imx_scu_reset_ids);
88+
MODULE_DEVICE_TABLE(of, imx_scu_reset_ids);
8989

9090
static struct platform_driver imx_scu_reset_driver = {
9191
.probe = imx_scu_reset_probe,

0 commit comments

Comments
 (0)