From 603f3afd6d4a180981dcfbde193badb0bd6a39b8 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 25 Nov 2015 17:52:47 -0600 Subject: [PATCH] Some minor clean-up from last changes --- arch | 2 +- drivers/loop/Kconfig | 2 +- include/nuttx/fs/loop.h | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch b/arch index 994be48b7d..6d7ee8a1e9 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 994be48b7dfe1dffd1fa9fdfa8dd1468bf5d7b7b +Subproject commit 6d7ee8a1e9445da89e4e6f96b019b535e96ec672 diff --git a/drivers/loop/Kconfig b/drivers/loop/Kconfig index eeeb139882..1a1dd2a189 100644 --- a/drivers/loop/Kconfig +++ b/drivers/loop/Kconfig @@ -3,7 +3,7 @@ # see the file kconfig-language.txt in the NuttX tools repository. # -config EEV_LOOP +config DEV_LOOP bool "Enable loop device" default n ---help--- diff --git a/include/nuttx/fs/loop.h b/include/nuttx/fs/loop.h index 1a2a4aec6f..ee1efd69f4 100644 --- a/include/nuttx/fs/loop.h +++ b/include/nuttx/fs/loop.h @@ -103,6 +103,9 @@ extern "C" * Public Function Prototypes ****************************************************************************/ +#ifdef __KERNEL__ +/* These are internal OS interface and are not available to applications */ + /**************************************************************************** * Name: loop_register * @@ -136,6 +139,7 @@ int losetup(FAR const char *devname, FAR const char *filename, ****************************************************************************/ int loteardown(FAR const char *devname); +#endif /* __KERNEL __ */ #undef EXTERN #ifdef __cplusplus