From 1bfec1a702ddb59069ae08ea028865b8ead39c61 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 30 Dec 2014 06:19:30 -0600 Subject: [PATCH] Fixes warning about block_operations not being defined. From David Sidrane. --- include/nuttx/fs/fs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index b21d9cf802..20b318033d 100644 --- a/include/nuttx/fs/fs.h +++ b/include/nuttx/fs/fs.h @@ -443,9 +443,11 @@ int register_driver(FAR const char *path, FAR const struct file_operations *fops * ****************************************************************************/ +#ifndef CONFIG_DISABLE_MOUNTPOINT int register_blockdriver(FAR const char *path, FAR const struct block_operations *bops, mode_t mode, FAR void *priv); +#endif /* fs_unregisterdriver.c ****************************************************/ /****************************************************************************