summaryrefslogtreecommitdiffstats
path: root/fs/cramfs/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cramfs/Kconfig')
-rw-r--r--fs/cramfs/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cramfs/Kconfig b/fs/cramfs/Kconfig
index 58e2fe40b2a0..5933f995309a 100644
--- a/fs/cramfs/Kconfig
+++ b/fs/cramfs/Kconfig
@@ -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