Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4376792ybg; Mon, 8 Jun 2020 06:27:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqMVZTbJbmotIX8zftcgw5JUN7Vfg+x15MnsuCtVFXmQCEp/ynMtAIcYmo/ETSwbYrI/i3 X-Received: by 2002:a17:906:ae88:: with SMTP id md8mr21876633ejb.347.1591622859280; 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=C4NMrUjrtZh0lk6v+7S8DD/9kuAVVwchNlm9dmCOfp0EEcjXjqwlZmrlnOW354ZHEP FWrhyjXpM0N8znk+u29ydMwChsV4TvrrjG8m9J+buytz6itosFuHpwP55DnR8J0AOHBt kMgdWZgwvi25iDCbxqRYeG4q/68wH7MxRyqOZPIR0eG9XgLsQa0aHtfOEtb4kvK4xPts Z749f0jN6bNLXefFiJCrVt/1QDMGQ91l3sdiRH7MdhGyTZz6MfSAAOdf2NN8Fg27jcsR Ur/f+/AdKimodyAr0UZVqqUGhO5wpnWvAEvFnpBLq7ydZxde0yxXUiD43zKGGoQEcLj9 jzPg== 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=2n23O68uJ8m768MAJS7ZBgW/UGOLPqVUf3424r1V5Ww=; b=BpNNmJLnRuOwjIA4Qt18m81z/gW07ZbBq/sLd74N+r6BHsDAYx4bVVsTFKS/Pe9YCw Xe6bT6MWOEsfwwbV/6NM999En6FaAXZRT9HP3RSAbmodTj2NB62ZeVRIc1WZ0ebcntu1 VmZmz+AqF0CllvqG/VmrA4+kgieCTdYBmBBXv0d8abMI6TtWRoj8et2qbLaseeYWTEop c4b39rkncgJ4if5iAIOsMMfmiF4595cMW+9Rx1+ldKfPCB69Xj+kBOLeoHsfC24STic9 DlD7MHCUpTbtNwepVagnoVqWdDN7M//TIQG4hLfqFUfvMNHAS1MSuI62nscjUhssyT9Y VV6w== 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 rp9si8487421ejb.718.2020.06.08.06.27.16; 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 S1729214AbgFHNXo (ORCPT + 99 others); Mon, 8 Jun 2020 09:23:44 -0400 Received: from inva020.nxp.com ([92.121.34.13]:41830 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729796AbgFHNXb (ORCPT ); Mon, 8 Jun 2020 09:23:31 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E41221A103A; 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 inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 93A521A1033; 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 3E86440307; Mon, 8 Jun 2020 21:23:00 +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 5/9] clk: imx8mm: Support module build Date: Mon, 8 Jun 2020 21:12:12 +0800 Message-Id: <1591621936-11886-6-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.MX8MM clock driver as module. Signed-off-by: Anson Huang --- drivers/clk/imx/Kconfig | 2 +- drivers/clk/imx/clk-imx8mm.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index 54ad2ee..4e0f214 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -9,7 +9,7 @@ config MXC_CLK_SCU depends on IMX_SCU config CLK_IMX8MM - bool "IMX8MM CCM Clock Driver" + tristate "IMX8MM CCM Clock Driver" depends on ARCH_MXC select MXC_CLK help diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index b793264..1e8242d 100644 --- a/drivers/clk/imx/clk-imx8mm.c +++ b/drivers/clk/imx/clk-imx8mm.c @@ -657,3 +657,4 @@ static struct platform_driver imx8mm_clk_driver = { }, }; module_platform_driver(imx8mm_clk_driver); +MODULE_LICENSE("GPL v2"); -- 2.7.4