From dc71a47df6db643600babdb53c194a155ea1de69 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 4 Apr 2016 09:24:27 -0600 Subject: [PATCH] RTC: Fix some configuration issues when RTC_ALARM is disabled --- arch | 2 +- drivers/timers/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch b/arch index a0f2a6a7955..375f7f50f17 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit a0f2a6a7955496da386ae7576fbc6e522116644f +Subproject commit 375f7f50f17319df14fa1a3095a74bdcd853cca0 diff --git a/drivers/timers/Kconfig b/drivers/timers/Kconfig index b3be7f38b2a..ef5d6aed715 100644 --- a/drivers/timers/Kconfig +++ b/drivers/timers/Kconfig @@ -73,6 +73,7 @@ config RTC_ALARM config RTC_NALARMS int "Number of alarms" default 1 + depends on RTC_ALARM ---help--- Number of alarms supported by the hardware.