diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2018-02-08 04:08:08 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-08 20:37:31 +0100 |
commit | a8c6db00bff2bdb466d80b7ec7ff25d327071f9b (patch) | |
tree | 04704a2f851249f8ddfd0b8fe95fdd8efaf6d202 /fs/cramfs | |
parent | Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a... (diff) | |
download | linux-a8c6db00bff2bdb466d80b7ec7ff25d327071f9b.tar.xz linux-a8c6db00bff2bdb466d80b7ec7ff25d327071f9b.zip |
cramfs: better MTD dependency expression
Commit b9f5fb1800d8 ("cramfs: fix MTD dependency") did what it says.
Since commit 9059a3493efe ("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>
Diffstat (limited to 'fs/cramfs')
-rw-r--r-- | fs/cramfs/Kconfig | 3 |
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 |