From: Arnd Bergmann Date: Fri, 14 Mar 2025 15:35:37 +0000 (+0100) Subject: reset: imx: fix incorrect module device table X-Git-Tag: v6.15-rc1~158^2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c361baf67200a79c878d72cc879b1217c52cec96;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/20250314153541.3555813-1-arnd@kernel.org Signed-off-by: Philipp Zabel --- diff --git a/drivers/reset/reset-imx-scu.c b/drivers/reset/reset-imx-scu.c index d3074eaad4c99..919fc29f944c6 100644 --- a/drivers/reset/reset-imx-scu.c +++ b/drivers/reset/reset-imx-scu.c @@ -85,7 +85,7 @@ static const struct of_device_id imx_scu_reset_ids[] = { { .compatible = "fsl,imx-scu-reset", }, {} }; -MODULE_DEVICE_TABLE(platform, imx_scu_reset_ids); +MODULE_DEVICE_TABLE(of, imx_scu_reset_ids); static struct platform_driver imx_scu_reset_driver = { .probe = imx_scu_reset_probe,