提交 e87e06cd 编写于 作者: H Henning Heinold 提交者: 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: NOlof Johansson <olof@lixom.net>
Signed-off-by: NHenning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: NVarun Wadekar <vwadekar@nvidia.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册