Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp484698pxt; Thu, 12 Aug 2021 03:08:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx326zwEF1u4GHZh/NBAr/ITutJC0rvNrSJELTjDR9+Tj7u+L+45MJ0srRxjBs93mdyPbpR X-Received: by 2002:a5d:8b17:: with SMTP id k23mr2395216ion.17.1628762908510; Thu, 12 Aug 2021 03:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628762908; cv=none; d=google.com; s=arc-20160816; b=PG3i3Rj0yE8YmL349T17I7RkmcVAoEO0X0InRrnJwuMDOTRNd3syxiKjRIj7DSJtmW pLu0bbulJ+KjH+mKZ26w2/rHMCmevX6Da5So27U3blf7+5bT1iOIK2K2nCDL5t2SrONC vSLqLT+Tp3Bezv6q7yX+KqmBEdX2JlTqxYdlegOkyF2yMu7qfrt7MJruDShnsOGczs3g i77bg9/UMVHTY2TxSfFTq84ra8AQm+W13+skoLrL+Pm+vMwhuBbN3qzBgTK/qLDaBZZS dFvxauC9GDj0i3uCfuQmXSUMzUvNNBimLq8VkDas19xAJ8TCmeyVj3agTacGrT8FXaoq YyGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=grUD0O3pS6DIJwgPYttu0+j/oFP1R27VgaA0NBzeWKg=; b=p5NhhxBWsEDiOXEq6hjXnJPYzTKLtJUnrGC+ZMouaUhr4z1pBzWdk9zFab9LDAo5TZ xDJqTlGSI6rDXIAeqLcoDPZYKxygrpUgn53ba6PIPSfTnKDnWEMjrzdagIZzcR2GeCPE BFEqTE/JA8LQj+7IqFwkVbytuw3sa6vjOpK0RfJ7gjTLzLLEHb60DGHzCdcoSZrCMXpF UtH8tm/pm82KV66dg/Afn9c/NEoyICRhketxiMyONqC690uIKOFDKBUMCvlte61CJAj9 5j2t3Jnu2e+Mah0nDjpq7EyQ6r7lV52k1MYOO0nZ0FQr2lw6Llh/BqEPMaKdrawA0ziH 3Zug== 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f13si2389418ils.29.2021.08.12.03.08.17; Thu, 12 Aug 2021 03:08:28 -0700 (PDT) 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236207AbhHLJgD (ORCPT + 99 others); Thu, 12 Aug 2021 05:36:03 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:60108 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S236088AbhHLJf6 (ORCPT ); Thu, 12 Aug 2021 05:35:58 -0400 X-UUID: d00842f8ba4f46c787b97cbd82111285-20210812 X-UUID: d00842f8ba4f46c787b97cbd82111285-20210812 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 30708707; Thu, 12 Aug 2021 17:35:24 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 12 Aug 2021 17:35:22 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 12 Aug 2021 17:35:22 +0800 From: Miles Chen To: Michael Turquette , Stephen Boyd , Matthias Brugger CC: Wendell Lin , Hanks Chen , , , , , , Miles Chen Subject: [PATCH 3/4] clk: mediatek: support COMMON_CLK_MT6779 module build Date: Thu, 12 Aug 2021 17:35:18 +0800 Message-ID: <20210812093519.3550-4-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210812093519.3550-1-miles.chen@mediatek.com> References: <20210812093519.3550-1-miles.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To support COMMON_CLK_MT6779* module build, add MODULE_LICENSE and export necessary symbols. Signed-off-by: Miles Chen --- drivers/clk/mediatek/clk-mt6779-aud.c | 2 ++ drivers/clk/mediatek/clk-mt6779-cam.c | 2 ++ drivers/clk/mediatek/clk-mt6779-img.c | 2 ++ drivers/clk/mediatek/clk-mt6779-ipe.c | 2 ++ drivers/clk/mediatek/clk-mt6779-mfg.c | 2 ++ drivers/clk/mediatek/clk-mt6779-mm.c | 2 ++ drivers/clk/mediatek/clk-mt6779-vdec.c | 2 ++ drivers/clk/mediatek/clk-mt6779-venc.c | 2 ++ drivers/clk/mediatek/clk-mt6779.c | 2 ++ 9 files changed, 18 insertions(+) diff --git a/drivers/clk/mediatek/clk-mt6779-aud.c b/drivers/clk/mediatek/clk-mt6779-aud.c index 11b209f95e25..439c0bc94b73 100644 --- a/drivers/clk/mediatek/clk-mt6779-aud.c +++ b/drivers/clk/mediatek/clk-mt6779-aud.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include #include @@ -115,3 +116,4 @@ static struct platform_driver clk_mt6779_aud_drv = { }; builtin_platform_driver(clk_mt6779_aud_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779-cam.c b/drivers/clk/mediatek/clk-mt6779-cam.c index 244d4208b7fb..c99ddb210b70 100644 --- a/drivers/clk/mediatek/clk-mt6779-cam.c +++ b/drivers/clk/mediatek/clk-mt6779-cam.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include #include @@ -64,3 +65,4 @@ static struct platform_driver clk_mt6779_cam_drv = { }; builtin_platform_driver(clk_mt6779_cam_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779-img.c b/drivers/clk/mediatek/clk-mt6779-img.c index 26292a45c613..bf652052879c 100644 --- a/drivers/clk/mediatek/clk-mt6779-img.c +++ b/drivers/clk/mediatek/clk-mt6779-img.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include #include @@ -56,3 +57,4 @@ static struct platform_driver clk_mt6779_img_drv = { }; builtin_platform_driver(clk_mt6779_img_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779-ipe.c b/drivers/clk/mediatek/clk-mt6779-ipe.c index bb519075639c..a1a1c9cb329a 100644 --- a/drivers/clk/mediatek/clk-mt6779-ipe.c +++ b/drivers/clk/mediatek/clk-mt6779-ipe.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include #include @@ -58,3 +59,4 @@ static struct platform_driver clk_mt6779_ipe_drv = { }; builtin_platform_driver(clk_mt6779_ipe_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779-mfg.c b/drivers/clk/mediatek/clk-mt6779-mfg.c index c6ee2a89c070..9bf48c56d852 100644 --- a/drivers/clk/mediatek/clk-mt6779-mfg.c +++ b/drivers/clk/mediatek/clk-mt6779-mfg.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include @@ -53,3 +54,4 @@ static struct platform_driver clk_mt6779_mfg_drv = { }; builtin_platform_driver(clk_mt6779_mfg_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779-mm.c b/drivers/clk/mediatek/clk-mt6779-mm.c index 059c1a41ac7a..d5ead5531026 100644 --- a/drivers/clk/mediatek/clk-mt6779-mm.c +++ b/drivers/clk/mediatek/clk-mt6779-mm.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include #include @@ -106,3 +107,4 @@ static struct platform_driver clk_mt6779_mm_drv = { }; builtin_platform_driver(clk_mt6779_mm_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779-vdec.c b/drivers/clk/mediatek/clk-mt6779-vdec.c index 1900da2586a1..ff7390e4c5f5 100644 --- a/drivers/clk/mediatek/clk-mt6779-vdec.c +++ b/drivers/clk/mediatek/clk-mt6779-vdec.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include @@ -65,3 +66,4 @@ static struct platform_driver clk_mt6779_vdec_drv = { }; builtin_platform_driver(clk_mt6779_vdec_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779-venc.c b/drivers/clk/mediatek/clk-mt6779-venc.c index b41d1f859edc..489bf64346e3 100644 --- a/drivers/clk/mediatek/clk-mt6779-venc.c +++ b/drivers/clk/mediatek/clk-mt6779-venc.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include @@ -56,3 +57,4 @@ static struct platform_driver clk_mt6779_venc_drv = { }; builtin_platform_driver(clk_mt6779_venc_drv); +MODULE_LICENSE("GPL"); diff --git a/drivers/clk/mediatek/clk-mt6779.c b/drivers/clk/mediatek/clk-mt6779.c index 6e0d3a166729..9825385c9f94 100644 --- a/drivers/clk/mediatek/clk-mt6779.c +++ b/drivers/clk/mediatek/clk-mt6779.c @@ -4,6 +4,7 @@ * Author: Wendell Lin */ +#include #include #include #include @@ -1314,3 +1315,4 @@ static int __init clk_mt6779_init(void) } arch_initcall(clk_mt6779_init); +MODULE_LICENSE("GPL"); -- 2.18.0