From patchwork Mon Nov 14 05:30:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: arm: tegra: export tegra_chip_uid Date: Sun, 13 Nov 2011 19:30:20 -0000 From: Varun Wadekar X-Patchwork-Id: 125472 Message-Id: <1321248620-5147-1-git-send-email-vwadekar@nvidia.com> To: swarren@nvidia.com, olof@lixom.net Cc: heinold@inf.fu-berlin.de, linux-tegra@vger.kernel.org, Varun Wadekar 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. Original author: Henning Heinold Signed-off-by: Varun Wadekar --- 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 1fa26d9..ea49bd9 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c @@ -19,6 +19,7 @@ #include #include +#include #include @@ -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) {