summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-18 08:23:10 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-18 08:23:10 -0600
commitc875dcfd8a753cd131d39e1efa5f34642200e52c (patch)
treec7bc9abc91fc3aa5ad3ef5ceb01ca0510713776b /nuttx/arch/arm/src
parent1aa475c18f1aa490ed96555f848a617f80feede8 (diff)
downloadnuttx-c875dcfd8a753cd131d39e1efa5f34642200e52c.tar.gz
nuttx-c875dcfd8a753cd131d39e1efa5f34642200e52c.tar.bz2
nuttx-c875dcfd8a753cd131d39e1efa5f34642200e52c.zip
The RTC ioctl() method is now a configuration option
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c b/nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c
index 7c4aaf221..c56970b0c 100644
--- a/nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c
+++ b/nuttx/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,
};