cramfs: better MTD dependency expression
[linux-2.6-microblaze.git] / fs / cramfs / Kconfig
index 58e2fe4..5933f99 100644 (file)
@@ -33,8 +33,7 @@ config CRAMFS_BLOCKDEV
 
 config CRAMFS_MTD
        bool "Support CramFs image directly mapped in physical memory"
-       depends on CRAMFS && MTD
-       depends on CRAMFS=m || MTD=y
+       depends on CRAMFS && CRAMFS <= MTD
        default y if !CRAMFS_BLOCKDEV
        help
          This option allows the CramFs driver to load data directly from