summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-03 09:28:36 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-03 09:28:36 -0600
commit4f4e16fd495157c8b2a103728eccf244afb24e30 (patch)
treec2f497fdf0cd0aa8ef5046565f66a45e1df2eabb
parent2bf3b3172c7b14047b4edfea0d0283224ef66813 (diff)
downloadpx4-nuttx-4f4e16fd495157c8b2a103728eccf244afb24e30.tar.gz
px4-nuttx-4f4e16fd495157c8b2a103728eccf244afb24e30.tar.bz2
px4-nuttx-4f4e16fd495157c8b2a103728eccf244afb24e30.zip
CCM PROCFS: Missing change in last commits
-rw-r--r--nuttx/fs/procfs/fs_procfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/procfs/fs_procfs.c b/nuttx/fs/procfs/fs_procfs.c
index 8714f0d41..8969e8948 100644
--- a/nuttx/fs/procfs/fs_procfs.c
+++ b/nuttx/fs/procfs/fs_procfs.c
@@ -92,7 +92,7 @@ extern const struct procfs_operations smartfs_procfsoperations;
* operations table with a RAM-base registration table.
*/
-#if defined(CONFIG_STM32_CCM_PROCFS)
+#if defined(CONFIG_STM32_CCM_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_CCM)
extern const struct procfs_operations ccm_procfsoperations;
#endif
@@ -129,7 +129,7 @@ static const struct procfs_entry_s g_procfsentries[] =
{ "uptime", &uptime_operations },
#endif
-#if defined(#if defined(CONFIG_STM32_CCM_PROCFS)
+#if defined(CONFIG_STM32_CCM_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_CCM)
{ "ccm", &ccm_procfsoperations },
#endif
};