From: Varun Wadekar <vwadekar@nvidia.com>
To: linux-crypto@vger.kernel.org
Cc: linux-tegra@vger.kernel.org,
Henning Heinold <heinold@inf.fu-berlin.de>,
Varun Wadekar <vwadekar@nvidia.com>
Subject: [PATCH v8 1/2] arm: tegra: export tegra_chip_uid
Date: Fri, 16 Dec 2011 16:55:54 +0530 [thread overview]
Message-ID: <1324034755-3295-2-git-send-email-vwadekar@nvidia.com> (raw)
In-Reply-To: <1324034755-3295-1-git-send-email-vwadekar@nvidia.com>
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)
{
--
1.7.1
next prev parent reply other threads:[~2011-12-16 11:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 11:25 [PATCH v8 0/2] crypto: driver for Tegra AES hardware Varun Wadekar
2011-12-16 11:25 ` Varun Wadekar [this message]
[not found] ` <1324034755-3295-2-git-send-email-vwadekar-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-12 10:39 ` [PATCH v8 1/2] arm: tegra: export tegra_chip_uid Varun Wadekar
2011-12-16 11:25 ` [PATCH v8 2/2] crypto: driver for Tegra AES hardware Varun Wadekar
[not found] ` <1324034755-3295-3-git-send-email-vwadekar-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-09 5:27 ` Varun Wadekar
[not found] ` <4F0A7AA9.6020104-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-10 5:29 ` Mark Brown
2012-01-12 10:40 ` Varun Wadekar
2011-12-16 19:58 ` [PATCH v8 0/2] " Stephen Warren
[not found] ` <1324034755-3295-1-git-send-email-vwadekar-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-13 5:35 ` Herbert Xu
2012-01-13 5:37 ` Varun Wadekar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1324034755-3295-2-git-send-email-vwadekar@nvidia.com \
--to=vwadekar@nvidia.com \
--cc=heinold@inf.fu-berlin.de \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).