Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4375715ybg; Mon, 8 Jun 2020 06:26:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKEuq6YvBHDdegek9L7UgOaGT8ohabP346xOI/sq6i/xDEmeA41XNPm/ACVDntibSkyxKg X-Received: by 2002:aa7:c60e:: with SMTP id h14mr22305698edq.104.1591622765921; Mon, 08 Jun 2020 06:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591622765; cv=none; d=google.com; s=arc-20160816; b=BZ2h1WH+0LxdS5X4cZbf3nXYMt1tCOPLlTxHH4jT98Y1isMqjFZSeRrj4OGKS79JDS DyCBd0u/mUqL0wed7uVH4DsyKYzxx6Y93oEAAor9zr4hVDddgmG6MdiVTDzLTAMII3Vq LJqHfjUem8WGIH/i4xAemOX0DGjBsjrDu3yViKgDNiF17P+/3ubIJ2WqlJleow7Hxiw9 5KBRNBIZ+bWqtZSwFmNFVp8AujcM5xpmCCoBkhzGnWf+K4YU2KyIoCISg2r0pjblr60+ aDWW8FO2mWieAfe0BgFIMkEVZVWIIOzviZkhYJRLBHrhuPCCI2GDB3DJM1NQy/0e/2Rm 2LPA== 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=ZH/Kxa5MLPTSEHErUh8jf6zhjb8n4UJjr7lE1sBbhVs=; b=JPxcyUVaEBItha38yRi2HN9Yb3DRKipLQpySYEaZuuzYrlX7YpyY8Ob9frMG8YC4ex XKgmzuxGd9uvk88lgUjJR/tpab5I8khdCGa5Xg15p72XD5+aPhuxvzHhC5jiSlzQK015 FCyv8K5Qf5Z8XhMCqHISc571/YpiUaXWa6+PpYAlhM9WjusHLBZKBRvmGhjgOu7BDLuZ 78vV6SIK0LV+BbNIDlkB5fH9LcZ2spQ1vBwUrjf2hGAb4HFIq1vCuqJJGPrqIzoaXFMI oUN84eQTef54yWsXrVnSCLBZ+NRs6gb5FAfvnFfMpQgFadNaJg4aKLw8hHLyjf3oyEXa 8crg== 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 d15si8409435ejb.4.2020.06.08.06.25.42; Mon, 08 Jun 2020 06:26:05 -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 S1729829AbgFHNXl (ORCPT + 99 others); Mon, 8 Jun 2020 09:23:41 -0400 Received: from inva021.nxp.com ([92.121.34.21]:48162 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729799AbgFHNXb (ORCPT ); Mon, 8 Jun 2020 09:23:31 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 830CF200E10; Mon, 8 Jun 2020 15:23:28 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9B6E92000C1; Mon, 8 Jun 2020 15:23:18 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 702CB40324; Mon, 8 Jun 2020 21:23: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 Cc: Linux-imx@nxp.com Subject: [PATCH 6/9] clk: imx8mn: Support module build Date: Mon, 8 Jun 2020 21:12:13 +0800 Message-Id: <1591621936-11886-7-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.MX8MN clock driver as module. Signed-off-by: Anson Huang --- 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 4e0f214..3ad1b63 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"); -- 2.7.4