Skip to content

Commit d77369a

Browse files
JDYueShawn Guo
authored andcommitted
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 <jindong.yue@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent edac60e commit d77369a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/imx/imx8mp-blk-ctrl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ static const struct of_device_id imx8mp_blk_ctrl_of_match[] = {
852852
/* Sentinel */
853853
}
854854
};
855-
MODULE_DEVICE_TABLE(of, imx8m_blk_ctrl_of_match);
855+
MODULE_DEVICE_TABLE(of, imx8mp_blk_ctrl_of_match);
856856

857857
static struct platform_driver imx8mp_blk_ctrl_driver = {
858858
.probe = imx8mp_blk_ctrl_probe,

0 commit comments

Comments
 (0)