summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-09-23 22:57:22 +0000
committerArnd Bergmann <arnd@arndb.de>2012-09-28 22:13:02 +0200
commitb0247eac31bde4b9572e28cd3dfd930dd4c5fb26 (patch)
treebaa92faceb12c96e3fe976f28bf11cbcbe5af6c6
parentb10731fb567e9029113089119b296a012a8310d7 (diff)
downloadop-kernel-dev-b0247eac31bde4b9572e28cd3dfd930dd4c5fb26.zip
op-kernel-dev-b0247eac31bde4b9572e28cd3dfd930dd4c5fb26.tar.gz
ARM: nomadik: remove NAND_NO_READRDY use
The nhk8815 board files uses NAND_NO_READRDY in its platform data, but this macro is getting removed because it was not being used anywhere. Without this patch, building nhk8815_defconfig results in: arch/arm/mach-nomadik/board-nhk8815.c:118:6: error: 'NAND_NO_READRDY' undeclared here (not in a function) Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Alessandro Rubini <rubini@unipv.it> Cc: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/mach-nomadik/board-nhk8815.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-nomadik/board-nhk8815.c b/arch/arm/mach-nomadik/board-nhk8815.c
index f4535a7..c3841a9 100644
--- a/arch/arm/mach-nomadik/board-nhk8815.c
+++ b/arch/arm/mach-nomadik/board-nhk8815.c
@@ -112,8 +112,7 @@ static struct mtd_partition nhk8815_partitions[] = {
static struct nomadik_nand_platform_data nhk8815_nand_data = {
.parts = nhk8815_partitions,
.nparts = ARRAY_SIZE(nhk8815_partitions),
- .options = NAND_COPYBACK | NAND_CACHEPRG | NAND_NO_PADDING \
- | NAND_NO_READRDY,
+ .options = NAND_COPYBACK | NAND_CACHEPRG | NAND_NO_PADDING,
.init = nhk8815_nand_init,
};
OpenPOWER on IntegriCloud