[Yaffs] [PATCH YAFFS2] cleanup-beautify-menuconfig

Top Page
Attachments:
Message as email
+ (text/plain)
+ 1-cleanup-beautify-menuconfig.diff (text/plain)
Delete this message
Reply to this message
Author: Luc Van Oostenryck
Date:  
To: yaffs
Subject: [Yaffs] [PATCH YAFFS2] cleanup-beautify-menuconfig
Move around the option in Kconfig so that depending stuff are nicely indented.



Luc Van Oostenryck
diff --git a/fs/yaffs2/Kconfig b/fs/yaffs2/Kconfig
--- a/fs/yaffs2/Kconfig
+++ b/fs/yaffs2/Kconfig
@@ -26,15 +26,6 @@ config YAFFS_YAFFS1

       If unsure, say Y.


-config YAFFS_YAFFS2
-    bool "2048 byte (or larger) / page devices"
-    depends on YAFFS_FS
-    default y
-    help
-      Enable YAFFS2 support -- yaffs for >= 2048 byte / page larger devices
-
-      If unsure, say Y.
-
 config YAFFS_DOES_ECC
     bool "Lets Yaffs do its own ECC"
     depends on YAFFS_FS && YAFFS_YAFFS1
@@ -55,6 +46,15 @@ config YAFFS_ECC_WRONG_ORDER
       same ecc byte order as SmartMedia.


       If unsure, say N.
+
+config YAFFS_YAFFS2
+    bool "2048 byte (or larger) / page devices"
+    depends on YAFFS_FS
+    default y
+    help
+      Enable YAFFS2 support -- yaffs for >= 2048 byte / page larger devices
+
+      If unsure, say Y.


 config YAFFS_DISABLE_CHUNK_ERASED_CHECK
     bool "Turn off debug chunk erase check"