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>
This commit is contained in:
parent
4f58cb90bc
commit
e87e06cd8c
|
@ -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)
|
||||||
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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue