Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4376794ybg; Mon, 8 Jun 2020 06:27:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCdgWarnBuKDBtcql4VmqHoI7ExXB/tP20RRcCGS54uKA/fBZnMRyoVQvCq7fD1WAr/JDd X-Received: by 2002:a17:906:b79a:: with SMTP id dt26mr21785195ejb.422.1591622859274; Mon, 08 Jun 2020 06:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591622859; cv=none; d=google.com; s=arc-20160816; b=opfocNR/1qMv3WYyFg9lgd83sxR3Z/T8DaBBQFF5858EN3PiFTf7gg1n0p1d1eWpxe 7r2Y8feekyugM5YLWXlXixnHlujjtJPc4Mqm6kIsC4GgMhmZGnt6vkGw29g7Mnx7++vD 12+oWN6stDZWRcMXiSMzwJuTk/sH4HIZHdwFKOtHgO+nb6vnNuywT6OB+X9+dcaT3NU2 1IpVcXfngv9a1G6p5V0KBQheZtzThfOgHESBJSyQtKLafTxXKEsdCCdWyr9WBq9m92N5 kNsvlHovAfZLHf9wLpcjTnN9WCrwUY8r36/DM8Or9f1Rsd/R6xiT2g9X52RnQVcbpzvI YBWQ== 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=4qyrjlJ+Ubl7FPrFtf8QejMQDoBvs5okf0ZjtpmasOc=; b=m75u6IEOu7Khgx4sEclZ86V7LnfFzfw2W3EBRenxPKfKtMCi6My6LYgbpJExwCTfR7 i5hmthg2/p/+jJAxtRgN0zk9ZDY40SGI8Nnm4NQghLxW+3xhC7ANCrYaAGN0yt1sIlSc BXC7hX7Nb1nc9momKhegHjRyj38h6orlYixLm7eSyiak+3Kd1zMAfYkk3Bh7ATa9v8Hb phftNOdZfNrwkXt7ZIN9LmJS3AYw/eAW4d+51Lp0WHs7KXvgxN3SGBx2rYINRNQKgkz0 Lys6UFbqhen69/MNaeE9LQE5/Ak1beK26+1ULy4iobTDmpDODOyyli73a5OXXN15AbYy H2GA== 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 a17si8789305edx.507.2020.06.08.06.27.13; Mon, 08 Jun 2020 06:27:39 -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 S1729451AbgFHNXs (ORCPT + 99 others); Mon, 8 Jun 2020 09:23:48 -0400 Received: from inva020.nxp.com ([92.121.34.13]:42016 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729806AbgFHNXf (ORCPT ); Mon, 8 Jun 2020 09:23:35 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6B8A41A101D; 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 5075F1A010A; 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 D3ABA4030C; Mon, 8 Jun 2020 21:23:06 +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 8/9] clk: imx8mq: Support module build Date: Mon, 8 Jun 2020 21:12:15 +0800 Message-Id: <1591621936-11886-9-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.MX8MQ clock driver as module. Signed-off-by: Anson Huang --- drivers/clk/imx/Kconfig | 2 +- drivers/clk/imx/clk-imx8mq.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index 7443302..a1201ce 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -30,7 +30,7 @@ config CLK_IMX8MP Build the driver for i.MX8MP CCM Clock Driver config CLK_IMX8MQ - bool "IMX8MQ CCM Clock Driver" + tristate "IMX8MQ CCM Clock Driver" depends on ARCH_MXC select MXC_CLK help diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index a64aace..2861c31 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c @@ -643,3 +643,4 @@ static struct platform_driver imx8mq_clk_driver = { }, }; module_platform_driver(imx8mq_clk_driver); +MODULE_LICENSE("GPL v2"); -- 2.7.4