mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
mtd: omap2: allow bulding as a module
The omap2 nand device driver calls into the the elm code, which can be a loadable module, and in that case it cannot be built-in itself. I can see no reason why the omap2 driver cannot also be a module, so let's make the option "tristate" in Kconfig to fix this allmodconfig build error: ERROR: "elm_config" [drivers/mtd/nand/omap2.ko] undefined! ERROR: "elm_decode_bch_error_page" [drivers/mtd/nand/omap2.ko] undefined! Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Tony Lindgren <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Artem Bityutskiy <[email protected]> Cc: Afzal Mohammed <[email protected]> Cc: Russell King <[email protected]> Cc: [email protected]
This commit is contained in:
parent
b497ceb964
commit
930d800bde
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ config MTD_NAND_OMAP2
|
|||
|
||||
config MTD_NAND_OMAP_BCH
|
||||
depends on MTD_NAND && MTD_NAND_OMAP2 && ARCH_OMAP3
|
||||
bool "Enable support for hardware BCH error correction"
|
||||
tristate "Enable support for hardware BCH error correction"
|
||||
default n
|
||||
select BCH
|
||||
select BCH_CONST_PARAMS
|
||||
|
|
|
|||
Loading…
Reference in a new issue