diff options
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c | 2 |
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 c56970b0c..eb732b16e 100644 --- a/nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c +++ b/nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c @@ -121,7 +121,9 @@ static const struct rtc_ops_s g_rtc_ops = #ifdef CONFIG_RTC_IOCTL .ioctl = NULL, #endif +#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS .destroy = NULL, +#endif }; /* STM32 RTC device state */ |