From: Roland Stigge Date: Fri, 24 Aug 2012 13:06:51 +0000 (+0200) Subject: mtd: lpc32xx_slc: Cleanup after DT-only conversion X-Git-Tag: v3.7-rc1~70^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10594f67870e86aac361d75ee1e84535a33e1214;p=pandora-kernel.git mtd: lpc32xx_slc: Cleanup after DT-only conversion The LPC32xx's DT-only conversion of the SLC NAND driver makes NAND config via platform_data obsolete. Dropped by this patch. Further, the driver really needs CONFIG_OF, which is already reflected by the dependency on ARCH_LPC32XX which depends on CONFIG_OF. So also dropping CONFIG_OF ifdefs. There is still platform_data necessary to supply the dma_filter callback for the dma engine. This is a completely different data structure than the old platform_data for NAND config, so renaming some old "pdata" variable to "ncfg" to prevent confusion with the new platform data. Signed-off-by: Roland Stigge Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed