Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp218197ybt; Tue, 16 Jun 2020 22:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMUAqJhvV/S+qQ3G8PchI5iXTvdK76f3haycbiMvJNMGYbOfT4ykpG/WwuUYf3mgkCctu2 X-Received: by 2002:a17:906:5785:: with SMTP id k5mr5736882ejq.494.1592370545396; Tue, 16 Jun 2020 22:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592370545; cv=none; d=google.com; s=arc-20160816; b=pqLj4Mfuv6OMEw/Kt2qajEHt48YMDTAoszoWkxtvYyKt9q8FwdS5o1hcT0h07KfzrE EZaQFHnqv5SkrA5gTQ5kB+EPzd7aqqw3f53H/xt59ykAMwqj+VyLiuOt6gTth0xOI1mP w4sIkFCXwoDBYPSAttaJ26FJyxf3SeRyIAboV7yxGJQVRwpPVrtWCBwp+r+iRp79766A HlwN3eNuAbhVJlCO7AJWgNYX8ujonDP5vKawikyRP+WVPmp/8YHCc6Eg2Ctw5KleIH/K KUt4gN4bnIEJA1ZrsXwJEo3HEzE6wDM8AHKV8PA89jrng7MDHgXb07bIFNMwUwULX32T L9TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ChCd6NfEyvN1uNi1enc2+41QQIbjYK1gzTfX3fT7Y9A=; b=Ef7F0ceXhH+wF3JKkkIiO88kWtIrW39cWwoXoV+AM3atQLZP90m2xKVelheSgrf7jb PGpt/+hg4n8g3Y2hx4F5J89fludo7g7NNAbvVX+YLEJxDQK2c1UWLpFbMgI7RhqLbs+P 02PXiWhwv1LvrKah47kk77z711jqInU1Xz3EHx5wKxener+4wsuUMHBKV+eVA53fsYrf /L6FWpaHDDYEXph5vH7kn3/0kmH5LwKqnTJ1ATZQJjDwcMaIPenHiRX++u2FXnOnFlM5 mgd6xG2aBWO2NhgqUcJe7xcnydVLM0JmKKlAhNo5vHn6X+7Q2gNRExynY2PxxbTbiaO8 Zspg== 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 d22si12163197edv.113.2020.06.16.22.08.41; Tue, 16 Jun 2020 22:09: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 S1726681AbgFQFEx (ORCPT + 99 others); Wed, 17 Jun 2020 01:04:53 -0400 Received: from inva021.nxp.com ([92.121.34.21]:56666 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgFQFEx (ORCPT ); Wed, 17 Jun 2020 01:04:53 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D0B532003D0; Wed, 17 Jun 2020 07:04:51 +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 E20B82008A5; Wed, 17 Jun 2020 07:04:46 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 9A6A3402B3; Wed, 17 Jun 2020 13:04:40 +0800 (SGT) From: Anson Huang To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peng.fan@nxp.com, arnd@arndb.de, leonard.crestez@nxp.com, krzk@kernel.org, daniel.baluta@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] soc: imx-scu: Support module build Date: Wed, 17 Jun 2020 12:53:43 +0800 Message-Id: <1592369623-10723-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 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 Change the configuration type to tristate, add module description, author and license to support module build. Signed-off-by: Anson Huang --- drivers/soc/imx/Kconfig | 2 +- drivers/soc/imx/soc-imx-scu.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index d515d2c..c255acb 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -9,7 +9,7 @@ config IMX_GPCV2_PM_DOMAINS default y if SOC_IMX7D config IMX_SCU_SOC - bool "i.MX System Controller Unit SoC info support" + tristate "i.MX System Controller Unit SoC info support" depends on IMX_SCU select SOC_BUS help diff --git a/drivers/soc/imx/soc-imx-scu.c b/drivers/soc/imx/soc-imx-scu.c index 20d37ea..bdd43ed 100644 --- a/drivers/soc/imx/soc-imx-scu.c +++ b/drivers/soc/imx/soc-imx-scu.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -185,3 +186,7 @@ static int __init imx_scu_soc_init(void) return PTR_ERR_OR_ZERO(pdev); } device_initcall(imx_scu_soc_init); + +MODULE_AUTHOR("Anson Huang "); +MODULE_DESCRIPTION("NXP i.MX SCU SoC driver"); +MODULE_LICENSE("GPL v2"); -- 2.7.4