NAND: TI: fix warnings in omap_gpmc.c
authorStefano Babic <sbabic@denx.de>
Wed, 21 Mar 2012 23:56:17 +0000 (23:56 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 27 Mar 2012 20:05:29 +0000 (22:05 +0200)
commitf7dad8f12164d08577b42492ae8d350a002e9d99
tree5affb6901c590c9a02ff2c2a7937ae5efc1e3d2d
parent0d63b33506a6d40a022a789085f5cb4e636ecaf8
NAND: TI: fix warnings in omap_gpmc.c

The following warnings are reported for boards using SOFT ECC.

omap_gpmc.c:33:30: warning: 'hw_nand_oob' defined but not used
omap_gpmc.c:78:13: warning: 'omap_hwecc_init' defined but not used
omap_gpmc.c:116:12: warning: 'omap_correct_data' defined but not used
omap_gpmc.c:182:12: warning: 'omap_calculate_ecc' defined but not used
omap_gpmc.c:208:13: warning: 'omap_enable_hwecc' defined but not used

Signed-off-by: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/omap_gpmc.c