Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3905262pxt; Tue, 10 Aug 2021 14:23:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwToiYy2MHr3oBRX7ccVQ1SNnthnK8Gr1g26PPqPQJt3ZhizS4HknRTE5yO+7PLLwPGWB4V X-Received: by 2002:a05:6402:4412:: with SMTP id y18mr7221981eda.1.1628630590312; Tue, 10 Aug 2021 14:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628630590; cv=none; d=google.com; s=arc-20160816; b=L2mVX9qFvfSCd6sL3L26n9C+QbQBipxkLtnGfAlfIJkzmTIHudS8W8+2ewBFrXdk1d yfJ/W8Yt0ClgdAI/TzkU3t6s06hbIw5rixeMlKktS4BYuP5ZveXhk2umD9uSfosYkAB+ BuvicgEhKtRGDiRcc5ovlwZgowO4IHYO9JUdONaNAS3P/UV4PX0QtfWCXwZrX5jcVS5n L9T2VdIIjgdr1YfFYwEeM9LARkImc+IZ5ituN3cOxWEpa46LLI4XdiB3LetItpRlHshH pkdLHvryFT2aF4rd3l+5TwlJnQN2uElto08ZjJJP8mERaqtju+1znRzaPFerB0CHpN4g gqpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=V1xKjewmcvo1V4S6mchpAVzjr8f+S7D03zQUXH3jKWg=; b=B8i6aVRf4wisZHdSTC4QzfETbzRxRPraW4yO1p7lmkcWHyjUZbuOkHCqzYMkMPj4vR zfgvuAtrZLhJyQCKmRkhGtSBibLdytKdQ490n1zKdvcwuytyHvKIlvMN2icjf69CO/6z O1h8yqYkNuWheNEc1EyfHouHsU+sU559uSRAojtC7/lBIljN9QVP60QlOzDQXMxwzPCZ /3+uWYZkCss/Lb2ROg917TyUKOVUjm1f15ad7+aP8LaacAKKHN6o+WkJ4ojOqVWuK7Q0 1GeE2+W5UqKkKwEM92H4lPh3lal8tcAig9PpXb4rD58X06wu6akHq+GpSppP6n5uK5n0 D42A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx23si20615221edb.19.2021.08.10.14.22.45; Tue, 10 Aug 2021 14:23:10 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234476AbhHJVVJ (ORCPT + 99 others); Tue, 10 Aug 2021 17:21:09 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:59233 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233887AbhHJVUz (ORCPT ); Tue, 10 Aug 2021 17:20:55 -0400 Received: (Authenticated sender: alexandre.belloni@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 20F8D1C0003; Tue, 10 Aug 2021 21:20:30 +0000 (UTC) From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] rtc: move RTC_LIB_KUNIT_TEST to proper location Date: Tue, 10 Aug 2021 23:20:07 +0200 Message-Id: <20210810212008.631359-2-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210810212008.631359-1-alexandre.belloni@bootlin.com> References: <20210810212008.631359-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move RTC_LIB_KUNIT_TEST under RTC_LIB so it is clear in the menu this is part of the RTC subsystem. Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig | 19 +++++++++---------- drivers/rtc/Makefile | 3 ++- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index b3cf3a274c05..daff06707455 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -10,16 +10,6 @@ config RTC_MC146818_LIB bool select RTC_LIB -config RTC_LIB_KUNIT_TEST - tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS - depends on KUNIT - default KUNIT_ALL_TESTS - select RTC_LIB - help - Enable this option to test RTC library functions. - - If unsure, say N. - menuconfig RTC_CLASS bool "Real Time Clock" default n @@ -85,6 +75,15 @@ config RTC_DEBUG Say yes here to enable debugging support in the RTC framework and individual RTC drivers. +config RTC_LIB_KUNIT_TEST + tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS + depends on KUNIT + default KUNIT_ALL_TESTS + help + Enable this option to test RTC library functions. + + If unsure, say N. + config RTC_NVMEM bool "RTC non volatile storage support" select NVMEM diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index 763d3628c603..5ceeafe4d5b2 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -15,6 +15,8 @@ rtc-core-$(CONFIG_RTC_INTF_DEV) += dev.o rtc-core-$(CONFIG_RTC_INTF_PROC) += proc.o rtc-core-$(CONFIG_RTC_INTF_SYSFS) += sysfs.o +obj-$(CONFIG_RTC_LIB_KUNIT_TEST) += lib_test.o + # Keep the list ordered. obj-$(CONFIG_RTC_DRV_88PM80X) += rtc-88pm80x.o @@ -178,4 +180,3 @@ obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o obj-$(CONFIG_RTC_DRV_XGENE) += rtc-xgene.o obj-$(CONFIG_RTC_DRV_ZYNQMP) += rtc-zynqmp.o -obj-$(CONFIG_RTC_LIB_KUNIT_TEST) += lib_test.o -- 2.31.1