Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4377433ybg; Mon, 8 Jun 2020 06:28:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxI4VDkSGhv3z+yNvRcFccrOjRDXnR9vnj5t2MC8i81tUSDOv6aUA0wSmf8idL62cf1hJzf X-Received: by 2002:a17:906:f53:: with SMTP id h19mr20304821ejj.343.1591622917925; Mon, 08 Jun 2020 06:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591622917; cv=none; d=google.com; s=arc-20160816; b=SDIF19HFN6wcr1Cpn4fZEC6zTTHy+0wtRkbH5zFHdgzBkBxd5//46FQF+/ObqyGNAW 81cObtk9woCWPTiI7HtNkb4O13A8ViorhoIhs262ElU5XMNSzTqWnBuO3OZYNLL1VWgv aazwMOfIMzuKc26SRPB0pRvmRDXRO7x7HVkNpaxGlulToK6Ys1uaTHtNViaUFvG7iFfR mtidI/YYdms1xn3/+B/70BDKnJeJijeT5IN0iyoYyCyH3sW7TcnQRSGvyc+gw94+nzer xCTjSILYZweicD/c+a0X/5j2pT9nZ6DAVi8Z0vZ4RSjQ6bA/QWwJFwXruzSfxHDSNP5P 8P5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=fK6TD6rTyc+x+VDTSlaJ3Zhwb+QOh7d/glO2RpHHuqY=; b=Zix+z5c97SWYLcDD8Vo4/NelOYapftPtTS2DRtPsuCa9kbMTZ3K50GQ4YnUGCjL+dz IUf6edrd9OVh4NL46ZRooHWnl/FJtdMjt8EdJfa5lxs0TVYe4Nu9HW4XaDdsstUJgjaa gam3LYciySFeXnZzcJpDWHFFh/DK7wwVXk9f9taYMmsIMbMBtzdrF023wNM6/7QE9bxS 1dqk4uUN2s0VOd3tdZ7XUB7vN5CdKDz2f9FTWD4519LSyrNikOA64U2a4fMIvR0EHh71 Jk5HH9bDr05vI9A/BGLxJ5f8oGH2gZJUL8WW9qCyPvKeNfyVxzv8nFbkxI29g//MReRc ykxw== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm17si10790260ejc.707.2020.06.08.06.28.14; Mon, 08 Jun 2020 06:28:37 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729854AbgFHNXw (ORCPT + 99 others); Mon, 8 Jun 2020 09:23:52 -0400 Received: from inva020.nxp.com ([92.121.34.13]:41958 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729783AbgFHNXg (ORCPT ); Mon, 8 Jun 2020 09:23:36 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6B72E1A0120; Mon, 8 Jun 2020 15:23:34 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7D74B1A1031; Mon, 8 Jun 2020 15:23:24 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 132BC4031F; Mon, 8 Jun 2020 21:23:09 +0800 (SGT) From: Anson Huang To: linux@armlinux.org.uk, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, oleksandr.suvorov@toradex.com, stefan.agner@toradex.com, arnd@arndb.de, abel.vesa@nxp.com, peng.fan@nxp.com, aisheng.dong@nxp.com, tglx@linutronix.de, allison@lohutok.net, gregkh@linuxfoundation.org, info@metux.net, leonard.crestez@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, sfr@canb.auug.org.au, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 9/9] clk: imx8qxp: Support module build Date: Mon, 8 Jun 2020 21:12:16 +0800 Message-Id: <1591621936-11886-10-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591621936-11886-1-git-send-email-Anson.Huang@nxp.com> References: <1591621936-11886-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support building i.MX8QXP clock driver as module. Signed-off-by: Anson Huang --- drivers/clk/imx/Kconfig | 2 +- drivers/clk/imx/clk-imx8qxp-lpcg.c | 1 + drivers/clk/imx/clk-imx8qxp.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index a1201ce..ffb8cf9 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -37,7 +37,7 @@ config CLK_IMX8MQ Build the driver for i.MX8MQ CCM Clock Driver config CLK_IMX8QXP - bool "IMX8QXP SCU Clock" + tristate "IMX8QXP SCU Clock" depends on ARCH_MXC && IMX_SCU && ARM64 select MXC_CLK_SCU help diff --git a/drivers/clk/imx/clk-imx8qxp-lpcg.c b/drivers/clk/imx/clk-imx8qxp-lpcg.c index 04c8ee3..8afaefc 100644 --- a/drivers/clk/imx/clk-imx8qxp-lpcg.c +++ b/drivers/clk/imx/clk-imx8qxp-lpcg.c @@ -232,3 +232,4 @@ static struct platform_driver imx8qxp_lpcg_clk_driver = { }; builtin_platform_driver(imx8qxp_lpcg_clk_driver); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c index 5e2903e..a34c7c5 100644 --- a/drivers/clk/imx/clk-imx8qxp.c +++ b/drivers/clk/imx/clk-imx8qxp.c @@ -152,3 +152,4 @@ static struct platform_driver imx8qxp_clk_driver = { .probe = imx8qxp_clk_probe, }; builtin_platform_driver(imx8qxp_clk_driver); +MODULE_LICENSE("GPL v2"); -- 2.7.4