Skip to content

Commit a8c6db0

Browse files
Nicolas Pitretorvalds
authored andcommitted
cramfs: better MTD dependency expression
Commit b9f5fb1 ("cramfs: fix MTD dependency") did what it says. Since commit 9059a34 ("kconfig: fix relational operators for bool and tristate symbols") it is possible to do it slightly better though. Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent c013632 commit a8c6db0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/cramfs/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ config CRAMFS_BLOCKDEV
3333

3434
config CRAMFS_MTD
3535
bool "Support CramFs image directly mapped in physical memory"
36-
depends on CRAMFS && MTD
37-
depends on CRAMFS=m || MTD=y
36+
depends on CRAMFS && CRAMFS <= MTD
3837
default y if !CRAMFS_BLOCKDEV
3938
help
4039
This option allows the CramFs driver to load data directly from

0 commit comments

Comments
 (0)