From: Arnd Bergmann Date: Tue, 23 Apr 2013 13:47:50 +0000 (+0200) Subject: mtd: omap2: allow bulding as a module X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~73^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=930d800bded771b26d9944c47810829130ff7c8c;p=pandora-kernel.git 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 Acked-by: Tony Lindgren Cc: David Woodhouse Cc: Artem Bityutskiy Cc: Afzal Mohammed Cc: Russell King Cc: linux-mtd@lists.infradead.org --- Reading git-diff-tree failed