* [PATCH] phy: mediatek: Add missing MODULE_DEVICE_TABLE()
@ 2021-02-03 11:06 Enric Balletbo i Serra
2021-02-04 8:08 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Enric Balletbo i Serra @ 2021-02-03 11:06 UTC (permalink / raw)
To: linux-kernel
Cc: Chun-Kuang Hu, drinkcat, dri-devel, Kishon Vijay Abraham I,
Chunfeng Yun, Vinod Koul, Boris Brezillon, linux-mediatek,
hsinyi, matthias.bgg, Collabora Kernel ML, linux-arm-kernel
From: Boris Brezillon <boris.brezillon@collabora.com>
This patch adds the missing MODULE_DEVICE_TABLE definitions on different
Mediatek phy drivers which generates correct modalias for automatic loading
when these drivers are compiled as an external module.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
drivers/phy/mediatek/phy-mtk-hdmi.c | 1 +
drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/phy/mediatek/phy-mtk-hdmi.c b/drivers/phy/mediatek/phy-mtk-hdmi.c
index 45be8aa724f3..8313bd517e4c 100644
--- a/drivers/phy/mediatek/phy-mtk-hdmi.c
+++ b/drivers/phy/mediatek/phy-mtk-hdmi.c
@@ -201,6 +201,7 @@ static const struct of_device_id mtk_hdmi_phy_match[] = {
},
{},
};
+MODULE_DEVICE_TABLE(of, mtk_hdmi_phy_match);
static struct platform_driver mtk_hdmi_phy_driver = {
.probe = mtk_hdmi_phy_probe,
diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
index 18c481251f04..9c7815bb9000 100644
--- a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
+++ b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
@@ -233,6 +233,7 @@ static const struct of_device_id mtk_mipi_tx_match[] = {
.data = &mt8183_mipitx_data },
{ },
};
+MODULE_DEVICE_TABLE(of, mtk_mipi_tx_match);
struct platform_driver mtk_mipi_tx_driver = {
.probe = mtk_mipi_tx_probe,
--
2.30.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] phy: mediatek: Add missing MODULE_DEVICE_TABLE()
2021-02-03 11:06 [PATCH] phy: mediatek: Add missing MODULE_DEVICE_TABLE() Enric Balletbo i Serra
@ 2021-02-04 8:08 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2021-02-04 8:08 UTC (permalink / raw)
To: Enric Balletbo i Serra
Cc: Chun-Kuang Hu, drinkcat, linux-kernel, dri-devel,
Kishon Vijay Abraham I, Chunfeng Yun, Boris Brezillon,
linux-mediatek, hsinyi, matthias.bgg, Collabora Kernel ML,
linux-arm-kernel
On 03-02-21, 12:06, Enric Balletbo i Serra wrote:
> From: Boris Brezillon <boris.brezillon@collabora.com>
>
> This patch adds the missing MODULE_DEVICE_TABLE definitions on different
> Mediatek phy drivers which generates correct modalias for automatic loading
> when these drivers are compiled as an external module.
Applied, thanks
--
~Vinod
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-04 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 11:06 [PATCH] phy: mediatek: Add missing MODULE_DEVICE_TABLE() Enric Balletbo i Serra
2021-02-04 8:08 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).