From d3196ca5c3727201151af2bbe5ec1b4fdd30eb09 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 18 Feb 2015 08:23:10 -0600 Subject: [PATCH] The RTC ioctl() method is now a configuration option --- arch/arm/src/stm32/stm32_rtc_lowerhalf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/src/stm32/stm32_rtc_lowerhalf.c b/arch/arm/src/stm32/stm32_rtc_lowerhalf.c index 7c4aaf221b5..c56970b0c24 100644 --- a/arch/arm/src/stm32/stm32_rtc_lowerhalf.c +++ b/arch/arm/src/stm32/stm32_rtc_lowerhalf.c @@ -118,7 +118,9 @@ static const struct rtc_ops_s g_rtc_ops = .rdwkalm = NULL, .setwkalm = NULL, #endif +#ifdef CONFIG_RTC_IOCTL .ioctl = NULL, +#endif .destroy = NULL, };