ARM: ep93xx: export ep93xx_chip_revision
authorArnd Bergmann <arnd@arndb.de>
Thu, 13 Mar 2014 16:52:39 +0000 (17:52 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:22:08 +0000 (18:22 +0100)
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>
arch/arm/mach-ep93xx/core.c

index 157ba88433c949c1db4595400cfbea3cc29a5c47..fd021ba539fec762141be29e9559adf1ee284913 100644 (file)
@@ -242,6 +242,7 @@ unsigned int ep93xx_chip_revision(void)
        v >>= EP93XX_SYSCON_SYSCFG_REV_SHIFT;
        return v;
 }
+EXPORT_SYMBOL_GPL(ep93xx_chip_revision);
 
 /*************************************************************************
  * EP93xx GPIO
This page took 0.025532 seconds and 5 git commands to generate.