From cc0fb1ec67a72cc23e3e6095f848968828cce4aa Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 3 Jul 2014 09:28:36 -0600 Subject: [PATCH] CCM PROCFS: Missing change in last commits --- fs/procfs/fs_procfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/procfs/fs_procfs.c b/fs/procfs/fs_procfs.c index 8714f0d4176..8969e894825 100644 --- a/fs/procfs/fs_procfs.c +++ b/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 };