Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp419613pxb; Thu, 12 Aug 2021 20:41:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8OGxXvlROFzAQ5mzjHf+hunZTNcLfSl3qKk1o1jxjyxy5xNLKF52a8vP5A7B9jqY/uxHa X-Received: by 2002:a92:b112:: with SMTP id t18mr345679ilh.36.1628826075668; Thu, 12 Aug 2021 20:41:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628826075; cv=none; d=google.com; s=arc-20160816; b=rcafy9ipu4bykyY1w1q5Svq5qB4n2DeWI+/NrQ7nDzfFYRROGWwkmCtv+ZEJ8nClOX 1aAarMGqeeGboum7Z8kVxdcSJN9JlHCJrL1gVaUglI0QlCNIHgiI9ezLyfara1oCzY+K 7Zy5wmysNtNMsl7NriP3pCPwDku/cUAlj4hvdw3y9t+AfW45XX4WXBb5WcbaAXOjDuoM gs6Y+8qK5RRVwcwksc59V4gJ/hhcylhPfd/qz7wqx1nyiVfGS/fUprkPEnO0RpqlhjBG rRKv/s8mSziInh2oNp1upxZ8//oa63T0842zYCr47YaGSmKZ5x2KfUCmjtNDOpERxZ5G Uk4w== 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=9JyqjXyc/J9jlEUgA31AOg6BWB0oQ34ASClu4yw4a7s=; b=jTibHeDr+bqJTwoHGZVl7gihCt5IDdy8+C+wiEKtLZT05oMyPaRIqLTqDaJuo29ZDH F0cUW4QYa5671kY6lTmyE6fMMe60tdorQElu9H07tGAjAeKJocP0DWZUAoIU88RCDQHO dodwt77LpTsis/ZyI2FQMMHoLWJpDg+/veTSIEJnxfeDlPAbOztzwXDKK7dP0BW5ZY/T lYQ3ztnrtqbFWL0XrGcrySgQMu7Q9qOKE2ZGzsjRJ59QktwdOJkK+aWmWpun8TmpARsg VYkXqdqTdLhSHt+Q9kAXMnx9C7iV9FLPXZiiHsgbWwmFCwHZq/Wri79LSfyUPCAjnH3G Cs/w== 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 az34si126547jab.63.2021.08.12.20.41.04; Thu, 12 Aug 2021 20:41:15 -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 S238363AbhHMDZG (ORCPT + 99 others); Thu, 12 Aug 2021 23:25:06 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:34734 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S237100AbhHMDZC (ORCPT ); Thu, 12 Aug 2021 23:25:02 -0400 X-UUID: 29a0313f131b44299dc6fe9797ca90cd-20210813 X-UUID: 29a0313f131b44299dc6fe9797ca90cd-20210813 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 286878084; Fri, 13 Aug 2021 11:24:32 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 13 Aug 2021 11:24:31 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 13 Aug 2021 11:24:31 +0800 From: Miles Chen To: Michael Turquette , Stephen Boyd , Matthias Brugger CC: Wendell Lin , Hanks Chen , , , , , , Miles Chen , Lee Jones Subject: [RESEND PATCH 3/4] clk: mediatek: support COMMON_CLK_MT6779 module build Date: Fri, 13 Aug 2021 11:24:28 +0800 Message-ID: <20210813032429.14715-4-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210813032429.14715-1-miles.chen@mediatek.com> References: <20210813032429.14715-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. Cc: Stephen Boyd Cc: Hanks Chen Cc: Wendell Lin Cc: Lee Jones 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