spl: fat/fs: Add control to build FS EXT4 in SPL
[project/bcm63xx/u-boot.git] / fs / fs.c
diff --git a/fs/fs.c b/fs/fs.c
index 1a6a64ea7f97b1256773a9a880afeec990cfc541..c05e6c85eda6af26eb8c46b2449b28b4be67eba7 100644 (file)
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -183,7 +183,8 @@ static struct fstype_info fstypes[] = {
                .closedir = fat_closedir,
        },
 #endif
-#ifdef CONFIG_FS_EXT4
+
+#if CONFIG_IS_ENABLED(FS_EXT4)
        {
                .fstype = FS_TYPE_EXT,
                .name = "ext4",