Commit f3a35610 authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman

[PATCH] MTD_NAND_SHARPSL and MTD_NAND_NANDSIM should be tristate's

MTD_NAND=m and MTD_NAND_SHARPSL=y or MTD_NAND_NANDSIM=y are illegal
combinations that mustn't be allowed.

This patch fixes this bug by making MTD_NAND_SHARPSL and MTD_NAND_NANDSIM
tristate's.

Additionally, it fixes some whitespace damage at these options.

This patch was already included in Linus' tree.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8b5218c3
...@@ -179,14 +179,13 @@ config MTD_NAND_DISKONCHIP_BBTWRITE ...@@ -179,14 +179,13 @@ config MTD_NAND_DISKONCHIP_BBTWRITE
load time (assuming you build diskonchip as a module) with the module load time (assuming you build diskonchip as a module) with the module
parameter "inftl_bbt_write=1". parameter "inftl_bbt_write=1".
config MTD_NAND_SHARPSL config MTD_NAND_SHARPSL
bool "Support for NAND Flash on Sharp SL Series (C7xx + others)" tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)"
depends on MTD_NAND && ARCH_PXA depends on MTD_NAND && ARCH_PXA
config MTD_NAND_NANDSIM config MTD_NAND_NANDSIM
bool "Support for NAND Flash Simulator" tristate "Support for NAND Flash Simulator"
depends on MTD_NAND && MTD_PARTITIONS depends on MTD_NAND && MTD_PARTITIONS
help help
The simulator may simulate verious NAND flash chips for the The simulator may simulate verious NAND flash chips for the
MTD nand layer. MTD nand layer.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment