diff mbox

[v8,1/2] arm: tegra: export tegra_chip_uid

Message ID 1324034755-3295-2-git-send-email-vwadekar@nvidia.com
State New, archived
Headers show

Commit Message

Varun Wadekar Dec. 16, 2011, 11:25 a.m. UTC
From: Henning Heinold <heinold@inf.fu-berlin.de>

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>
---
 arch/arm/mach-tegra/fuse.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Varun Wadekar Jan. 12, 2012, 10:39 a.m. UTC | #1
Add Herbert and David

On Friday 16 December 2011 04:55 PM, Varun Wadekar wrote:
> From: Henning Heinold<heinold@inf.fu-berlin.de>
>
> 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>
> ---
>   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<linux/kernel.h>
>   #include<linux/io.h>
> +#include<linux/module.h>
>
>   #include<mach/iomap.h>
>
> @@ -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)
>   {

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 <linux/kernel.h>
 #include <linux/io.h>
+#include <linux/module.h>
 
 #include <mach/iomap.h>
 
@@ -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)
 {