Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2033254ybf; Mon, 2 Mar 2020 00:21:01 -0800 (PST) X-Google-Smtp-Source: ADFU+vuyPiZgZsnjOMQmbJYESQzNvb86oHP5/9yszHpSkgPjcIFIib6dKiYcNqf7AfUdsODSL1Pl X-Received: by 2002:aca:c705:: with SMTP id x5mr2317837oif.1.1583137260912; Mon, 02 Mar 2020 00:21:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583137260; cv=none; d=google.com; s=arc-20160816; b=B6EmTX2O0v/vDBdde8Yv/8K/5nhsad2LsZmmW39MsnGgjB3n4j1C/2VritnnSjloQy 2T6TDGdKOK5mSYaGDKDl/n6M0MD1OcbrxXgW8u5X62HmAIxCdL91Rrinhz7REnPg/0L3 v/SV3qTSvsVCxXn8FU4lSUVyKVfAM/EEbZGFwWHY6A079SOYwXaue05BFidw68BOPRRS +y2whGCSYuz4xGzzH/h7q1eqI063oADgCiYvSqvojXNpN9qHsucje6XqtoQEUjj/QZnp n8MJwCpU0nuVcKQVoIpB2veKMHgo0DOqX8HvdqwrVMazo5Hcxu0Wiy06eHiCwDFoH9Px 0OUw== 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=QZrvXTe+toJhI1EoIxm0zsSPuVEqqYJ4TToivLWIALE=; b=IL8RctPs5IO15SAvFwajl4k29iumMLwt4BNk6u/YTgXDDLw+JnWFu4NFoyzLmtioJF BUKayWHporeBgWypKi9cRisJ0jfbiZ6UcWlW3xQhmNroWf/Ox/zDAt11Rz846Mvq0vR1 2I3HKn39ZTqQ1JXGqcpxN2QU2V6g5mIRCQF1foGOuZtUq2JJqn63l798pFVVN507xENk 4aJY++TXH4reH0PMutz7AD9tsMSgPcKRgqANmly5B7P8KjK1zfvJGnvriEduogxQVwhU xfGrjC5OLBK07ofeyDaSdc6WyJJ8nBgVmOFWf0uMzxI7iocEWNW7MSTuEaqNjo1jnFLa RNgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id a16si2572355oid.4.2020.03.02.00.20.49; Mon, 02 Mar 2020 00:21:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727922AbgCBITM (ORCPT + 99 others); Mon, 2 Mar 2020 03:19:12 -0500 Received: from inva021.nxp.com ([92.121.34.21]:55258 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727154AbgCBITJ (ORCPT ); Mon, 2 Mar 2020 03:19:09 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5FE37200F19; Mon, 2 Mar 2020 09:19:07 +0100 (CET) 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 66FDC200F07; Mon, 2 Mar 2020 09:19:04 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 6A026402A7; Mon, 2 Mar 2020 16:19:00 +0800 (SGT) From: Anson Huang To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] rtc: snvs: Improve Kconfig dependency Date: Mon, 2 Mar 2020 16:13:05 +0800 Message-Id: <1583136785-4973-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 i.MX SNVS RTC should depend on ARCH_MXC or COMPILE_TEST. Signed-off-by: Anson Huang --- drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 34c8b6c..acaf6f98 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1761,6 +1761,7 @@ config RTC_DRV_MXC_V2 config RTC_DRV_SNVS tristate "Freescale SNVS RTC support" select REGMAP_MMIO + depends on ARCH_MXC || COMPILE_TEST depends on HAS_IOMEM depends on OF help -- 2.7.4