ARM: OMAP2+: GPMC: Export gpmc_enable_hwecc and gpmc_calculate_ecc
authorBernhard Walle <walle@corscience.de>
Tue, 6 Mar 2012 00:11:01 +0000 (16:11 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 6 Mar 2012 00:11:01 +0000 (16:11 -0800)
commitf611b020e74a41fb6460a5d5ca085d0c361b8b2f
tree7e8194e8d5faeb4c6d09716fd16579b3356ab911
parentdffc9daeec5e7e2a5bfcb7cbb5abf3a9dc64ffe1
ARM: OMAP2+: GPMC: Export gpmc_enable_hwecc and gpmc_calculate_ecc

To be able to compile kernel/drivers/mtd/nand/omap2.ko as module, that
two symbols need to be exported. Otherwise, I get following error
message

    ERROR: "gpmc_calculate_ecc" [drivers/mtd/nand/omap2.ko] undefined!
    ERROR: "gpmc_enable_hwecc" [drivers/mtd/nand/omap2.ko] undefined!

Signed-off-by: Bernhard Walle <walle@corscience.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c