From patchwork Wed Nov 16 08:54:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varun Wadekar X-Patchwork-Id: 125957 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id F008CB6F9D for ; Wed, 16 Nov 2011 19:54:58 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752355Ab1KPIy6 (ORCPT ); Wed, 16 Nov 2011 03:54:58 -0500 Received: from hqemgate04.nvidia.com ([216.228.121.35]:4256 "EHLO hqemgate04.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751515Ab1KPIy5 (ORCPT ); Wed, 16 Nov 2011 03:54:57 -0500 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate04.nvidia.com id ; Wed, 16 Nov 2011 00:53:33 -0800 Received: from hqnvemgw01.nvidia.com ([172.17.108.22]) by hqnvupgp07.nvidia.com (PGP Universal service); Wed, 16 Nov 2011 00:54:54 -0800 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 16 Nov 2011 00:54:54 -0800 Received: from daphne.nvidia.com (Not Verified[172.16.212.96]) by hqnvemgw01.nvidia.com with MailMarshal (v6, 7, 2, 8378) id ; Wed, 16 Nov 2011 00:54:54 -0800 Received: from vwadekar-laptop.nvidia.com (dhcp-10-24-108-206.nvidia.com [10.24.108.206]) by daphne.nvidia.com (8.13.8+Sun/8.8.8) with ESMTP id pAG8shQ5023696; Wed, 16 Nov 2011 00:54:52 -0800 (PST) From: Varun Wadekar To: linux-crypto@vger.kernel.org Cc: linux-tegra@vger.kernel.org, olof@lixom.net, ccross@android.com, Henning Heinold , Varun Wadekar Subject: [PATCH v6 1/2] arm: tegra: export tegra_chip_uid Date: Wed, 16 Nov 2011 14:24:38 +0530 Message-Id: <1321433679-22036-2-git-send-email-vwadekar@nvidia.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1321433679-22036-1-git-send-email-vwadekar@nvidia.com> References: <1321433679-22036-1-git-send-email-vwadekar@nvidia.com> X-NVConfidentiality: public Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Henning Heinold 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. Signed-off-by: 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) {