diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-13 12:52:39 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-21 13:22:08 -0400 |
commit | 67e108c530c77cf6b939907536f2ceda3b196dd6 (patch) | |
tree | 1c8cace8626042c3fd335bd9b55036f1f2d68bb0 /arch/arm/mach-ep93xx | |
parent | 1df13d9d0fec1bb86445731fbb8552ebadf8936c (diff) |
ARM: ep93xx: export ep93xx_chip_revision
ep93xx_chip_revision is used by the pata_ep93xx driver,
which can be a loadable module. Exporting the symbol
avoids a link error in this case.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 157ba88433c9..fd021ba539fe 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c | |||
@@ -242,6 +242,7 @@ unsigned int ep93xx_chip_revision(void) | |||
242 | v >>= EP93XX_SYSCON_SYSCFG_REV_SHIFT; | 242 | v >>= EP93XX_SYSCON_SYSCFG_REV_SHIFT; |
243 | return v; | 243 | return v; |
244 | } | 244 | } |
245 | EXPORT_SYMBOL_GPL(ep93xx_chip_revision); | ||
245 | 246 | ||
246 | /************************************************************************* | 247 | /************************************************************************* |
247 | * EP93xx GPIO | 248 | * EP93xx GPIO |