memory: omap-gpmc: Prevent GPMC_STATUS from being accessed via gpmc_regs
authorRoger Quadros <rogerq@ti.com>
Fri, 7 Aug 2015 07:38:13 +0000 (10:38 +0300)
committerRoger Quadros <rogerq@ti.com>
Fri, 15 Apr 2016 08:55:28 +0000 (11:55 +0300)
commit9e6946215dbd9803e8b511928c9f61f3a49e2c58
tree0c5e57d8bc130f40ad75763d4acec4c1ddc41ba5
parentb2bac25a4d298309bb4b2649bb1107ddaa287c47
memory: omap-gpmc: Prevent GPMC_STATUS from being accessed via gpmc_regs

GPMC_STATUS register is private to the GPMC module and must not be
accessed directly by NAND driver through the gpmc_regs.

They must use gpmc_omap_get_nand_ops() instead.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
drivers/memory/omap-gpmc.c
include/linux/platform_data/mtd-nand-omap2.h