Skip to content

Commit

Permalink
arm: tegra: export tegra_chip_uid
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henning Heinold authored and Herbert Xu committed Jan 13, 2012
1 parent 4f58cb9 commit e87e06c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-tegra/fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/module.h>

#include <mach/iomap.h>

Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit e87e06c

Please sign in to comment.