From dbc81f57aa7088dd4d5e4414bd80b0b6656a8111 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 18 Feb 2015 09:34:58 -0600 Subject: VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled. --- nuttx/arch/arm/src/stm32/stm32_rtc_lowerhalf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nuttx/arch/arm') 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 */ -- cgit v1.2.3