diff --git a/fs/fs.c b/fs/fs.c index 2650328b358..c7706d9af85 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -316,8 +316,7 @@ static struct fstype_info fstypes[] = { }, #endif #endif -#ifndef CONFIG_XPL_BUILD -#ifdef CONFIG_FS_BTRFS +#if CONFIG_IS_ENABLED(FS_BTRFS) { .fstype = FS_TYPE_BTRFS, .name = "btrfs", @@ -337,7 +336,6 @@ static struct fstype_info fstypes[] = { .rename = fs_rename_unsupported, }, #endif -#endif #if CONFIG_IS_ENABLED(FS_SQUASHFS) { .fstype = FS_TYPE_SQUASHFS, @@ -360,7 +358,7 @@ static struct fstype_info fstypes[] = { .rename = fs_rename_unsupported, }, #endif -#if IS_ENABLED(CONFIG_FS_EROFS) +#if CONFIG_IS_ENABLED(FS_EROFS) { .fstype = FS_TYPE_EROFS, .name = "erofs", @@ -382,7 +380,7 @@ static struct fstype_info fstypes[] = { .rename = fs_rename_unsupported, }, #endif -#if IS_ENABLED(CONFIG_FS_EXFAT) +#if CONFIG_IS_ENABLED(FS_EXFAT) { .fstype = FS_TYPE_EXFAT, .name = "exfat",