diff options
author | Jindong Yue <[email protected]> | 2023-03-01 21:05:52 +0800 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2023-03-14 11:36:25 +0800 |
commit | d77369ad8cb10bedd244e6dfd8414ebdd8594ba6 (patch) | |
tree | 298a07d7de86e994d50f66951c35088934fbd54b | |
parent | edac60e149714cc05c32b49472740988c197543d (diff) |
soc: imx: imx8mp-blk-ctrl: Fix typo of imx8m_blk_ctrl_of_match
Once set CONFIG_SOC_IMX8M as m, following error occurs:
drivers/soc/imx/imx8mp-blk-ctrl.c:747:25: error: ‘imx8m_blk_ctrl_of_match’
undeclared here (not in a function); did you mean ‘imx8mp_blk_ctrl_of_match’?
747 | MODULE_DEVICE_TABLE(of, imx8m_blk_ctrl_of_match);
| ^~~~~~~~~~~~~~~~~~~~~~~
Fix the typo.
Signed-off-by: Jindong Yue <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Marco Felsch <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r-- | drivers/soc/imx/imx8mp-blk-ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/imx/imx8mp-blk-ctrl.c b/drivers/soc/imx/imx8mp-blk-ctrl.c index 1892c2c78831..f109c7bd6658 100644 --- a/drivers/soc/imx/imx8mp-blk-ctrl.c +++ b/drivers/soc/imx/imx8mp-blk-ctrl.c @@ -852,7 +852,7 @@ static const struct of_device_id imx8mp_blk_ctrl_of_match[] = { /* Sentinel */ } }; -MODULE_DEVICE_TABLE(of, imx8m_blk_ctrl_of_match); +MODULE_DEVICE_TABLE(of, imx8mp_blk_ctrl_of_match); static struct platform_driver imx8mp_blk_ctrl_driver = { .probe = imx8mp_blk_ctrl_probe, |