diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-30 06:19:30 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-30 06:19:30 -0600 |
commit | 9e1849263d4f58ed5c31b5266cc777e6d9a3239b (patch) | |
tree | 6532b1669b5a69a8aa235f7ebb3b301c9e52800e /nuttx/include | |
parent | 474d105090f8c1174d4bcf6f82a736a02efa7afe (diff) | |
download | nuttx-9e1849263d4f58ed5c31b5266cc777e6d9a3239b.tar.gz nuttx-9e1849263d4f58ed5c31b5266cc777e6d9a3239b.tar.bz2 nuttx-9e1849263d4f58ed5c31b5266cc777e6d9a3239b.zip |
Fixes warning about block_operations not being defined. From David Sidrane.
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/fs/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/fs/fs.h b/nuttx/include/nuttx/fs/fs.h index b21d9cf80..20b318033 100644 --- a/nuttx/include/nuttx/fs/fs.h +++ b/nuttx/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 ****************************************************/ /**************************************************************************** |