Observed the following build error:
---
CC [M] drivers/mtd/maps/sbc8240.o
drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined
In file included from drivers/mtd/maps/sbc8240.c:23:
include/linux/mtd/mtd.h:333:1: warning: this is the location of the
previous definition
drivers/mtd/maps/sbc8240.c: In function ‘init_sbc8240_mtd’:
drivers/mtd/maps/sbc8240.c:172: error: request for member ‘bankwidth’ in
something not a structure or union
drivers/mtd/maps/sbc8240.c:172: error: request for member ‘bankwidth’ in
something not a structure or union
drivers/mtd/maps/sbc8240.c:172: error: request for member ‘bankwidth’ in
something not a structure or union
drivers/mtd/maps/sbc8240.c:177: error: ‘struct mtd_info’ has no member
named ‘module’
make[3]: *** [drivers/mtd/maps/sbc8240.o] Error 1
make[2]: *** [drivers/mtd/maps] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
---
Regards--
Subrata