Sachin Kamat 19da4158d3 mtd: s3c2410: Fix compiler warnings
Fixes the following warnings:
‘s3c2410_nand_correct_data’ defined but not used [-Wunused-function]
‘s3c2410_nand_enable_hwecc’ defined but not used [-Wunused-function]
‘s3c2412_nand_enable_hwecc’ defined but not used [-Wunused-function]
‘s3c2440_nand_enable_hwecc’ defined but not used [-Wunused-function]
‘s3c2410_nand_calculate_ecc’ defined but not used [-Wunused-function]
‘s3c2412_nand_calculate_ecc’ defined but not used [-Wunused-function]
‘s3c2440_nand_calculate_ecc’ defined but not used [-Wunused-function]

The above functions are called only when CONFIG_MTD_NAND_S3C2410_HWECC
is defined. Thus making them conditional.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-09-29 15:10:04 +01:00
..
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 14:53:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2009-10-20 10:07:23 +09:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:10:04 +01:00
2012-09-29 15:00:46 +01:00
2012-03-27 00:56:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00