mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
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: 6b64fde5c1 ("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>
This commit is contained in:
parent
6b64fde5c1
commit
c361baf672
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue