summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-18 09:34:58 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-18 09:34:58 -0600
commitdbc81f57aa7088dd4d5e4414bd80b0b6656a8111 (patch)
treeb3387b5080d53813aa61b51b1b1524a036fed579 /nuttx/arch/arm
parentc875dcfd8a753cd131d39e1efa5f34642200e52c (diff)
downloadnuttx-dbc81f57aa7088dd4d5e4414bd80b0b6656a8111.tar.gz
nuttx-dbc81f57aa7088dd4d5e4414bd80b0b6656a8111.tar.bz2
nuttx-dbc81f57aa7088dd4d5e4414bd80b0b6656a8111.zip
VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.
Diffstat (limited to 'nuttx/arch/arm')
-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 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 */