cramfs: better MTD dependency expression
Commitb9f5fb1800
("cramfs: fix MTD dependency") did what it says. Since commit9059a3493e
("kconfig: fix relational operators for bool and tristate symbols") it is possible to do it slightly better though. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c013632192
commit
a8c6db00bf
|
@ -33,8 +33,7 @@ config CRAMFS_BLOCKDEV
|
||||||
|
|
||||||
config CRAMFS_MTD
|
config CRAMFS_MTD
|
||||||
bool "Support CramFs image directly mapped in physical memory"
|
bool "Support CramFs image directly mapped in physical memory"
|
||||||
depends on CRAMFS && MTD
|
depends on CRAMFS && CRAMFS <= MTD
|
||||||
depends on CRAMFS=m || MTD=y
|
|
||||||
default y if !CRAMFS_BLOCKDEV
|
default y if !CRAMFS_BLOCKDEV
|
||||||
help
|
help
|
||||||
This option allows the CramFs driver to load data directly from
|
This option allows the CramFs driver to load data directly from
|
||||||
|
|
Loading…
Reference in New Issue