From: Greg Kroah-Hartman Date: Fri, 5 Mar 2021 10:35:14 +0000 (+0100) Subject: 5.11-stable patches X-Git-Tag: v4.4.260~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=731ecf0918d9ac8f24b3fe039719d9f3ae6fcefa;p=thirdparty%2Fkernel%2Fstable-queue.git 5.11-stable patches added patches: phy-mediatek-add-missing-module_device_table.patch --- diff --git a/queue-5.11/phy-mediatek-add-missing-module_device_table.patch b/queue-5.11/phy-mediatek-add-missing-module_device_table.patch new file mode 100644 index 00000000000..d6a39d2d951 --- /dev/null +++ b/queue-5.11/phy-mediatek-add-missing-module_device_table.patch @@ -0,0 +1,43 @@ +From 9a8b9434c60f40e4d2603c822a68af6a9ca710df Mon Sep 17 00:00:00 2001 +From: Boris Brezillon +Date: Wed, 3 Feb 2021 12:06:30 +0100 +Subject: phy: mediatek: Add missing MODULE_DEVICE_TABLE() + +From: Boris Brezillon + +commit 9a8b9434c60f40e4d2603c822a68af6a9ca710df upstream. + +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 +Signed-off-by: Enric Balletbo i Serra +Link: https://lore.kernel.org/r/20210203110631.686003-1-enric.balletbo@collabora.com +Signed-off-by: Vinod Koul +Signed-off-by: Greg Kroah-Hartman +--- + drivers/phy/mediatek/phy-mtk-hdmi.c | 1 + + drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 1 + + 2 files changed, 2 insertions(+) + +--- 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_hdm + }, + {}, + }; ++MODULE_DEVICE_TABLE(of, mtk_hdmi_phy_match); + + static struct platform_driver mtk_hdmi_phy_driver = { + .probe = mtk_hdmi_phy_probe, +--- 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_mip + .data = &mt8183_mipitx_data }, + { }, + }; ++MODULE_DEVICE_TABLE(of, mtk_mipi_tx_match); + + struct platform_driver mtk_mipi_tx_driver = { + .probe = mtk_mipi_tx_probe, diff --git a/queue-5.11/series b/queue-5.11/series index 0ffa0d9db26..440abd7822d 100644 --- a/queue-5.11/series +++ b/queue-5.11/series @@ -98,3 +98,4 @@ tty-fix-up-hung_up_tty_read-conversion.patch tty-clean-up-legacy-leftovers-from-n_tty-line-discipline.patch tty-teach-n_tty-line-discipline-about-the-new-cookie-continuations.patch tty-teach-the-n_tty-icanon-case-about-the-new-cookie-continuations-too.patch +phy-mediatek-add-missing-module_device_table.patch