[PATCH 1/3] omap : nand : fix omap2 module compilation
Bryan DE FARIA
bdefaria at adeneo-embedded.com
Fri Apr 29 06:31:08 EDT 2011
Omap nand driver cannot be linked as a module because of gpmc symbols missing.
Signed-off-by: Bryan DE FARIA <bdefaria at adeneo-embedded.com>
---
arch/arm/mach-omap2/gpmc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index 130034b..f6418bb 100644
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch/arm/mach-omap2/gpmc.c
@@ -882,6 +882,7 @@ int gpmc_enable_hwecc(int cs, int mode, int dev_width, int ecc_size)
gpmc_write_reg(GPMC_ECC_CONFIG, val);
return 0;
}
+EXPORT_SYMBOL(gpmc_enable_hwecc);
/**
* gpmc_calculate_ecc - generate non-inverted ecc bytes
@@ -912,3 +913,4 @@ int gpmc_calculate_ecc(int cs, const u_char *dat, u_char *ecc_code)
gpmc_ecc_used = -EINVAL;
return 0;
}
+EXPORT_SYMBOL(gpmc_calculate_ecc);
--
1.7.1
More information about the linux-mtd
mailing list