From: David Woodhouse Date: Tue, 9 Mar 2010 02:45:00 +0000 (-0800) Subject: mtd: Make SM_FTL depend on MTD_NAND X-Git-Tag: v2.6.35-rc1~465^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de6f798e13093536b6cb229213db2fab6e6555f;p=pandora-kernel.git mtd: Make SM_FTL depend on MTD_NAND Randy Dunlap observed a build problem with the following config: CONFIG_SM_FTL=y CONFIG_SM_FTL_MUSEUM=y CONFIG_MTD_NAND=m The ECC calculation routines are then built as a module, but referenced by the sm_ftl code in the kernel, resulting in a build failure. The simple fix is to make CONFIG_SM_FTL depend on MTD_NAND unconditionally -- it's pointless without hardware support anyway. Fix some typos which Randy pointed out, too. Reported-By: Randy Dunlap Signed-off-by: David Woodhouse --- Reading git-diff-tree failed