From patchwork Tue Jun 9 07:32:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 11594799 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29FA11392 for ; Tue, 9 Jun 2020 07:44:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8A3F2074B for ; Tue, 9 Jun 2020 07:44:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aScszUwk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="REXRFbfM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8A3F2074B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rYW/b9bXWLbhx06Zq7perw4gpPD2PHv21U5ykUHCnJM=; b=aScszUwkCQWpPSIZ/EA10Tj1AG UOL+xYCYaAkwUoKgxnsRu+NpJAgBVinVesJai36JcQDAVx3I1JEXuwTIAJ3tkPP5gY8G8DDou5dns 4J2478DmJDtA8HtjOvEl43mloPYkL9q/uMiGx/uI85r2r1FZAFzRs1oaDvzRlriGBZlrybSIf52Bn 4W1F3WNlOrrqt26ta93vknbC33tssUUsAHVDJvUWKWjyeFPzlFSPxMOtByJ3ilCLCGCEdl0MO6iMt ZlJHIMxS5sU8A/O6PbPyff3fEcfCt6oY4ktwxbFD/CCQrALPzecx1sPTd1+TM2KU5FNnp4iiRmvvR vCv86Yaw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiYwI-0005vK-7Z; Tue, 09 Jun 2020 07:44:54 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiYux-0004mL-MI for linux-arm-kernel@bombadil.infradead.org; Tue, 09 Jun 2020 07:43:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=VykujGXKcMR5ioKPd91IXvXCFfKQfK2AZsusj2099I0=; b=REXRFbfMR9ooC+uALB5Q3cgdz6 TXwRbm1XN85kdLqJmbzT+MLWvdeYnVa9kIFKFxrwDWMtml1TpsheeumWGBfxEWOX1W/HOS338QWHg Q41nRf9qdUdLZqonZlXE2z1d8dnGtywlEKU7w0Pb+1TuDwAiwVOtA4jdoa7KkwWH9DNmorHS3IHlk ZqtsRB/Uw0yscHWC813qxYxWPcpl4VzcPHOrmSyRHbAhbOsKo++TW+/ciEtYa/hmIyPF180rAT9bE VeFcO2z18hqDsh85SMhRf9MjPI6iX0gcNUB0acFg8IHYeIa3kpOiBH7HtsCwIkdeOMkdifwxeGPy3 rJCbN4AQ==; Received: from inva020.nxp.com ([92.121.34.13]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiYut-00042x-F3 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jun 2020 07:43:30 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6EFB11A12BC; Tue, 9 Jun 2020 09:43:24 +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 8A4A91A1286; Tue, 9 Jun 2020 09:43:14 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8C5CC4031F; Tue, 9 Jun 2020 15:43:02 +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 Subject: [PATCH V2 6/9] clk: imx8mn: Support module build Date: Tue, 9 Jun 2020 15:32:10 +0800 Message-Id: <1591687933-19495-7-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591687933-19495-1-git-send-email-Anson.Huang@nxp.com> References: <1591687933-19495-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200609_084327_764606_B62F9E49 X-CRM114-Status: GOOD ( 10.25 ) X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-4.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [92.121.34.13 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Support building i.MX8MN clock driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/clk/imx/Kconfig | 2 +- drivers/clk/imx/clk-imx8mn.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index 97d86a3..5f537c3 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -16,7 +16,7 @@ config CLK_IMX8MM Build the driver for i.MX8MM CCM Clock Driver config CLK_IMX8MN - bool "IMX8MN CCM Clock Driver" + tristate "IMX8MN CCM Clock Driver" depends on ARCH_MXC select MXC_CLK help diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index 213cc37..ba930a7 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -608,3 +608,4 @@ static struct platform_driver imx8mn_clk_driver = { }, }; module_platform_driver(imx8mn_clk_driver); +MODULE_LICENSE("GPL v2");