Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp190115pxb; Wed, 3 Feb 2021 03:09:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNN9KOeL/74liEmAtPPkKvcaGVLuCqnpe/nGGVUlJq3qSie4PPTKVrd4cbeNxqbjz30GuO X-Received: by 2002:a17:907:2705:: with SMTP id w5mr2573860ejk.505.1612350555294; Wed, 03 Feb 2021 03:09:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612350555; cv=none; d=google.com; s=arc-20160816; b=NCUEyYD7AiUg5eSw1QUMr0wEyrA/ADKfT0kOUTuhC02GNiUP1PU897N/tBoXcWxO0G 8+QYmcJ/B2bgKgrF0wMpsS1by3P/RW9PvithKcFNK0sW5uN3dqo0lVAz0bIRjdBKwlMS g0Qu0IDCWN6EfJATgcwauNctH3h4S89pLMSyyG0IPsA5LhKr6H1vNfLg9MFhiNM3WFyw mx45u5FYaDif/3KAcGX0Myj5iQNwgP7uTlWG8E7b4RwcFKfvc6T71LXmaynS+zM89tSG eKEJ3uRsmSi9TWJOCs1FFDVAderAKSXFC5/AwZuqKQK6TJ6NJGH6KaDHNCekLZOjKgmA UdKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=B1y5R+XlyMxs8mIfC41MsYa0BnZ+TpHwoixG4koJchA=; b=At/s6ni6sgBUKsqyuywbvcLQNFZAMxHbAvckc1O+LWc2kiYSFTFG4RopjVXOM5Vh7d 3NHuh1JJHrA3RZtxDV6SMfZLgMWAne1++2ysCbEeBoCiSO2gmgTTDZXvJ5b9euIpEwO6 Jf6ZyQiuioigFhUcqe2bw7AGRYTR9J8B7qH64byJIoqrmqJypgp2F6LXVEqzKzq1ZKdV uRuN36c9hjIFRb3jpyKT+Y5EjeSmBu7SCrwv1w3VKRvNoc8CpEM/DWVUXTZmPlnfBRvN 2UKO9UOFM0qGqlaHdiZrJ9d3QIzRTurLX8HVhUKr/+uEKsKtcyWQWSBoXEnboNEnqroM wm8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si1067240edc.346.2021.02.03.03.08.49; Wed, 03 Feb 2021 03:09:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233971AbhBCLHf (ORCPT + 99 others); Wed, 3 Feb 2021 06:07:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233969AbhBCLHb (ORCPT ); Wed, 3 Feb 2021 06:07:31 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D7D1C061573 for ; Wed, 3 Feb 2021 03:06:51 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id DEF791F454BD From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, Collabora Kernel ML , Boris Brezillon , Chun-Kuang Hu , Chunfeng Yun , Kishon Vijay Abraham I , Philipp Zabel , Vinod Koul , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] phy: mediatek: Add missing MODULE_DEVICE_TABLE() Date: Wed, 3 Feb 2021 12:06:30 +0100 Message-Id: <20210203110631.686003-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Boris Brezillon 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 --- 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