Skip to contentSkip to conversation

arm: tegra: export tegra_chip_uid

PATCH In review Varun Wadekar 3 participants 3 messages Nov 14, 2011 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Original author: Henning Heinold <[email protected]>

---
 arch/arm/mach-tegra/fuse.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-tegra/fuse.c +2 -0
index 1fa26d9..ea49bd9 100644
@@ -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)
 {
Signature · 1 line
1.7.1
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · 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.

Please use proper capitalization.

Quoted 1 line

Original author: Henning Heinold <[email protected]>

See instructions from Stephen on the other patch. Also, if Henning wrote it, why doesn't it have his signed-off-by?

Quoted 33 lines

---
 arch/arm/mach-tegra/fuse.c |    2 ++

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

1.7.1

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

#4 lore raw
In reply to a message not in the archive
Quoted 6 lines · Olof Johansson
Quoted 4 lines · 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.

Quoted 6 lines

Please use proper capitalization.

Quoted 1 line

Original author: Henning Heinold <[email protected]>

See instructions from Stephen on the other patch. Also, if Henning wrote it, why doesn't it have his signed-off-by?

Hi Varun,

feel free to add Signed-off-by from me.

Bye Henning