arm: tegra: export tegra_chip_uid
authorHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 13 Jan 2012 05:38:37 +0000 (16:38 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jan 2012 05:38:37 +0000 (16:38 +1100)
The crypto driver will need this api to use
it in the RNG calculations. In order to build
the crypto driver as a module, tegra_chip_uid
has to be exported.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/mach-tegra/fuse.c

index 1fa26d9a1a6810cfbeb0cfb0ce3f86f62bc9e849..ea49bd93c6b9dbdb374a2fbb72f6b79fc2be1ad6 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <linux/kernel.h>
 #include <linux/io.h>
+#include <linux/module.h>
 
 #include <mach/iomap.h>
 
@@ -58,6 +59,7 @@ unsigned long long tegra_chip_uid(void)
        hi = fuse_readl(FUSE_UID_HIGH);
        return (hi << 32ull) | lo;
 }
+EXPORT_SYMBOL(tegra_chip_uid);
 
 int tegra_sku_id(void)
 {
This page took 0.028765 seconds and 5 git commands to generate.