mtd: nand: omap: do not set write callback if mtd write is disabled
Saves a few bytes of binary space.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ed8e6f1 commit 8c41c54da805eeae14e9d9d1cce58f49bcb9ecb6
@Sascha Hauer Sascha Hauer authored on 19 Jul 2013
Showing 1 changed file
View
drivers/mtd/nand/nand_omap_gpmc.c