arm:omap:nand - Fix for NAND module build support
authorPhilip, Avinash <avinashphilip@ti.com>
Wed, 2 Nov 2011 09:43:04 +0000 (15:13 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:22 +0000 (00:44 +0530)
This patch fixes build error of NAND module due to unknown symbols from
gpmc module and is fixed through EXPORT_SYMBOL from gpmc module.

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
arch/arm/mach-omap2/gpmc.c

index 838e58f9dae0c617b90d5849656a2be967bf66f9..a3174660acc8a8eeb20043128a94186976c9c179 100644 (file)
@@ -909,6 +909,7 @@ int gpmc_enable_hwecc(int ecc_type, int cs, int mode,
 
        return 0;
 }
+EXPORT_SYMBOL(gpmc_enable_hwecc);
 
 /**
  * gpmc_calculate_ecc - generate non-inverted ecc bytes
@@ -971,3 +972,4 @@ int gpmc_calculate_ecc(int ecc_type, int cs,
 
        return 0;
 }
+EXPORT_SYMBOL(gpmc_calculate_ecc);