From 2532e33de2afa07042e8662984900ce2e6e780c2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 18 Feb 2015 09:34:58 -0600 Subject: [PATCH] VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled. --- 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 c56970b0c24..eb732b16e6d 100644 --- a/arch/arm/src/stm32/stm32_rtc_lowerhalf.c +++ b/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 */