From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751788AbdBAL5L (ORCPT ); Wed, 1 Feb 2017 06:57:11 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:48722 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751192AbdBAL5K (ORCPT ); Wed, 1 Feb 2017 06:57:10 -0500 From: Alexandre Belloni To: Alessandro Zummo Cc: Maxime Ripard , Arnd Bergmann , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH] rtc: sun6i: extend test coverage Date: Wed, 1 Feb 2017 12:57:06 +0100 Message-Id: <20170201115706.3750-1-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org COMPILE_TEST was wrongly placed, move it to the "depends on" line. Also, select COMMON_CLK has the driver now needs it to be properly compiled. Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index ee287cf63b01..06f3beb8e30f 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1435,8 +1435,9 @@ config RTC_DRV_SUN4V config RTC_DRV_SUN6I bool "Allwinner A31 RTC" - default MACH_SUN6I || MACH_SUN8I || COMPILE_TEST - depends on ARCH_SUNXI + default MACH_SUN6I || MACH_SUN8I + select COMMON_CLK + depends on ARCH_SUNXI || COMPILE_TEST help If you say Y here you will get support for the RTC found in some Allwinner SoCs like the A31 or the A64. -- 2.11.0