On Sat, 2012-10-13 at 13:03 -0400, Huang Shijie wrote: > The whole gpmi-nand driver has turned to pure devicetree supported. > So the linux/mtd/gpmi-nand.h is not neccessary now. Just remove it, > and move some macros to the gpmi-nand driver itself. > > Signed-off-by: Huang Shijie I cannot compile-test it because the MXS configuration file I always used for compile-testing gpmi-nand patches (attached) does not work anymore - I get the following compilation errors: /home/dedekind/git/l2-mtd/arch/arm/include/asm/processor.h:82: warning: "__LINUX_ARM_ARCH__" is not defined /home/dedekind/git/l2-mtd/arch/arm/include/asm/processor.h:97: warning: "__LINUX_ARM_ARCH__" is not defined In file included from include/linux/time.h:6, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:17, from arch/arm/kernel/asm-offsets.c:13: include/linux/math64.h: In function 'div_u64_rem': include/linux/math64.h:55: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function) include/linux/math64.h:55: error: (Each undeclared identifier is reported only once include/linux/math64.h:55: error: for each function it appears in.) In file included from include/linux/mm_types.h:15, from include/linux/sched.h:24, from arch/arm/kernel/asm-offsets.c:13: /home/dedekind/git/l2-mtd/arch/arm/include/asm/page.h: At top level: /home/dedekind/git/l2-mtd/arch/arm/include/asm/page.h:107: error: #error Unknown user operations model In file included from include/linux/mm.h:44, from arch/arm/kernel/asm-offsets.c:14: /home/dedekind/git/l2-mtd/arch/arm/include/asm/pgtable.h:210: warning: "__LINUX_ARM_ARCH__" is not defined In file included from include/linux/scatterlist.h:10, from include/linux/dma-mapping.h:9, from arch/arm/kernel/asm-offsets.c:15: /home/dedekind/git/l2-mtd/arch/arm/include/asm/io.h:50: warning: "__LINUX_ARM_ARCH__" is not defined In file included from include/linux/dma-mapping.h:76, from arch/arm/kernel/asm-offsets.c:15: /home/dedekind/git/l2-mtd/arch/arm/include/asm/dma-mapping.h: In function 'dma_mapping_error': /home/dedekind/git/l2-mtd/arch/arm/include/asm/dma-mapping.h:94: error: implicit declaration of function 'debug_dma_mapping_error' In file included from /home/dedekind/git/l2-mtd/arch/arm/include/asm/cacheflush.h:15, from arch/arm/kernel/asm-offsets.c:16: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-cache.h: At top level: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-cache.h:129: error: #error Unknown cache maintenance model In file included from /home/dedekind/git/l2-mtd/arch/arm/include/asm/cacheflush.h:17, from arch/arm/kernel/asm-offsets.c:16: /home/dedekind/git/l2-mtd/arch/arm/include/asm/cachetype.h:28: warning: "__LINUX_ARM_ARCH__" is not defined /home/dedekind/git/l2-mtd/arch/arm/include/asm/cachetype.h:33: warning: "__LINUX_ARM_ARCH__" is not defined In file included from arch/arm/kernel/asm-offsets.c:16: /home/dedekind/git/l2-mtd/arch/arm/include/asm/cacheflush.h:204: warning: "__LINUX_ARM_ARCH__" is not defined /home/dedekind/git/l2-mtd/arch/arm/include/asm/cacheflush.h:206: warning: "__LINUX_ARM_ARCH__" is not defined In file included from arch/arm/kernel/asm-offsets.c:17: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-df.h:99: error: #error Unknown data abort handler type In file included from arch/arm/kernel/asm-offsets.c:18: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-pf.h:54: error: #error Unknown prefetch abort handler type make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 -- Best Regards, Artem Bityutskiy