Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4375630ybg; Mon, 8 Jun 2020 06:25:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5R9iWqF2JxbhpHzlUYuBoOdQd49W56RSYlAcrWmw32p91fSOxttdUQThBWSfiR47chErE X-Received: by 2002:a17:906:fb9b:: with SMTP id lr27mr20255102ejb.405.1591622758467; Mon, 08 Jun 2020 06:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591622758; cv=none; d=google.com; s=arc-20160816; b=iT320LA72ccCvQxYZfehW+RnisU0D6Yqsdy76KHVFrrGPcyIjgG8eOmyjJS7CiW3vS y0REuEM+JxqskMpkyTibFEjwjMcZrbK3TXkra29IKlVecAY6G3TGTJ1N4jP3sgWvuVR7 FwK3rA8tHXzVf7okUXPgrh9aZXXFE9FkPIyf1aIrXGsmcSu2k+kXrHtRjLjRYO3SD0n9 7eZMiLpjnnGedR8g0r2s/eLLNF38DzhakKSAATR1Kmyk/A7wmt2yt9n1dSDB9nKo5Lly JxviPjjKtBroElpAIh1l0dcvfkCyj6F0NTGtB918DTlMXCQcE//mDZhU1PnyfD5/nYm6 B8ZQ== 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=bt+QkyxTb00Gr04Hwckp1VE1xiqH9IWhNy28wf3chYE=; b=s+bIpAwWMnOgXcicuivGFq/1gErOrEmOyizGdreVRvGloXCOES/fJg2B75m6XMTgpg kyQjELQhXSkkPE+kghOzV90YiYjCNR2V2gzKQmBs6ilh08z3IS9V5EUGXZHtZCWaYS3a 7w5TAUQQRQ5wwm4UCZb8uxmZQInfTxZqlgJ/8X+wUM0rwFVUF1+JLA9giXlm8FJy076o 6TUYtUnfqB24aGq3N3fBiZC9ZgqFagQp8j+5KwVJt47pLYT/1UoPdUWJZu+qgW3I8XrY 2TSCt8CHSIMjCpJzHN5K4DjrxIH0NEprMrs1bXfgxK2gqeYNTNxlknAxGaDv1nwRpJGR juLA== 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 y1si8828821edi.491.2020.06.08.06.25.35; Mon, 08 Jun 2020 06:25:58 -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 S1729817AbgFHNXg (ORCPT + 99 others); Mon, 8 Jun 2020 09:23:36 -0400 Received: from inva020.nxp.com ([92.121.34.13]:41892 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729130AbgFHNXd (ORCPT ); Mon, 8 Jun 2020 09:23:33 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E1E481A1033; Mon, 8 Jun 2020 15:23:31 +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 EAA2F1A0120; Mon, 8 Jun 2020 15:23:21 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A1A7740299; Mon, 8 Jun 2020 21:23:04 +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 7/9] clk: imx8mp: Support module build Date: Mon, 8 Jun 2020 21:12:14 +0800 Message-Id: <1591621936-11886-8-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.MX8MP clock driver as module. Signed-off-by: Anson Huang --- drivers/clk/imx/Kconfig | 2 +- drivers/clk/imx/clk-imx8mp.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index 3ad1b63..7443302 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -23,7 +23,7 @@ config CLK_IMX8MN Build the driver for i.MX8MN CCM Clock Driver config CLK_IMX8MP - bool "IMX8MP CCM Clock Driver" + tristate "IMX8MP CCM Clock Driver" depends on ARCH_MXC select MXC_CLK help diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index b4d9db9..8517837 100644 --- a/drivers/clk/imx/clk-imx8mp.c +++ b/drivers/clk/imx/clk-imx8mp.c @@ -772,3 +772,4 @@ static struct platform_driver imx8mp_clk_driver = { }, }; module_platform_driver(imx8mp_clk_driver); +MODULE_LICENSE("GPL v2"); -- 2.7.4