diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index 334021211ea..855a2523a41 100644 --- a/include/nuttx/fs/fs.h +++ b/include/nuttx/fs/fs.h @@ -641,7 +641,7 @@ int unregister_blockdriver(FAR const char *path); * ****************************************************************************/ -#ifdef CONFIG_MTD_PARTITION +#ifdef CONFIG_MTD int register_mtddriver(FAR const char *path, FAR struct mtd_dev_s *mtd, mode_t mode, FAR void *priv); #endif