diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2012-01-13 00:38:37 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-01-13 00:38:37 -0500 |
commit | e87e06cd8cc09afbbf61de1380913d51bf4dffb3 (patch) | |
tree | 4c5f29edf6fff9f3daf1c1e6a2bb74257b8ad71b /arch/arm | |
parent | 4f58cb90bcb04cfe18f524d1c9a65edef5eb3f51 (diff) |
arm: tegra: export tegra_chip_uid
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/fuse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index 1fa26d9a1a6..ea49bd93c6b 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
21 | #include <linux/io.h> | 21 | #include <linux/io.h> |
22 | #include <linux/module.h> | ||
22 | 23 | ||
23 | #include <mach/iomap.h> | 24 | #include <mach/iomap.h> |
24 | 25 | ||
@@ -58,6 +59,7 @@ unsigned long long tegra_chip_uid(void) | |||
58 | hi = fuse_readl(FUSE_UID_HIGH); | 59 | hi = fuse_readl(FUSE_UID_HIGH); |
59 | return (hi << 32ull) | lo; | 60 | return (hi << 32ull) | lo; |
60 | } | 61 | } |
62 | EXPORT_SYMBOL(tegra_chip_uid); | ||
61 | 63 | ||
62 | int tegra_sku_id(void) | 64 | int tegra_sku_id(void) |
63 | { | 65 | { |