Commit e87e06cd authored by Henning Heinold's avatar Henning Heinold Committed by Herbert Xu

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: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarHenning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4f58cb90
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/module.h>
#include <mach/iomap.h> #include <mach/iomap.h>
...@@ -58,6 +59,7 @@ unsigned long long tegra_chip_uid(void) ...@@ -58,6 +59,7 @@ unsigned long long tegra_chip_uid(void)
hi = fuse_readl(FUSE_UID_HIGH); hi = fuse_readl(FUSE_UID_HIGH);
return (hi << 32ull) | lo; return (hi << 32ull) | lo;
} }
EXPORT_SYMBOL(tegra_chip_uid);
int tegra_sku_id(void) int tegra_sku_id(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment