diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index b21d9cf802e..20b318033df 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 ****************************************************/ /****************************************************************************