[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1610590218.30053.2.camel@mhfsdcap03>
Date: Thu, 14 Jan 2021 10:10:18 +0800
From: Chunfeng Yun <chunfeng.yun@...iatek.com>
To: Zou Wei <zou_wei@...wei.com>
CC: <chunkuang.hu@...nel.org>, <p.zabel@...gutronix.de>,
<kishon@...com>, <vkoul@...nel.org>, <matthias.bgg@...il.com>,
<dri-devel@...ts.freedesktop.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] phy: mediatek: Mark mtk_mipi_tx_driver with
static keyword
On Tue, 2021-01-12 at 09:38 +0800, Zou Wei wrote:
> Fix the following sparse warning:
>
> drivers/phy/mediatek/phy-mtk-mipi-dsi.c:237:24: warning: symbol 'mtk_mipi_tx_driver' was not declared. Should it be static?
>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
> ---
> drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
> index 18c4812..eeb357b 100644
> --- a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
> +++ b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
> @@ -234,7 +234,7 @@ static const struct of_device_id mtk_mipi_tx_match[] = {
> { },
> };
>
> -struct platform_driver mtk_mipi_tx_driver = {
> +static struct platform_driver mtk_mipi_tx_driver = {
> .probe = mtk_mipi_tx_probe,
> .remove = mtk_mipi_tx_remove,
> .driver = {
Acked-by: Chunfeng Yun <chunfeng.yun@...iatek.com>
Thanks
Powered by blists - more mailing lists