[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DU0PR04MB94173B31E85D56D9DAE674C488AD9@DU0PR04MB9417.eurprd04.prod.outlook.com>
Date: Wed, 1 Mar 2023 02:59:16 +0000
From: Peng Fan <peng.fan@....com>
To: "J.D. Yue" <jindong.yue@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>
CC: "kernel@...gutronix.de" <kernel@...gutronix.de>,
"festevam@...il.com" <festevam@...il.com>,
"l.stach@...gutronix.de" <l.stach@...gutronix.de>,
dl-linux-imx <linux-imx@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: RE: [PATCH v2 2/7] soc: imx: imx8mp-blk-ctrl: Fix typo of
imx8m_blk_ctrl_of_match
> Subject: [PATCH v2 2/7] 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.
>
> Fixes: 556f5cf9568a ("soc: imx: add i.MX8MP HSIO blk-ctrl")
> Signed-off-by: Jindong Yue <jindong.yue@....com>
Reviewed-by: Peng Fan <peng.fan@....com>
> ---
> drivers/soc/imx/imx8mp-blk-ctrl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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,
> --
> 2.36.0
Powered by blists - more mailing lists