From patchwork Thu May 7 17:49:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Streetman X-Patchwork-Id: 6360361 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A7D90BEEE1 for ; Thu, 7 May 2015 17:53:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99F9320364 for ; Thu, 7 May 2015 17:53:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BA90C200F0 for ; Thu, 7 May 2015 17:53:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752895AbbEGRxh (ORCPT ); Thu, 7 May 2015 13:53:37 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:34388 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751499AbbEGRtw (ORCPT ); Thu, 7 May 2015 13:49:52 -0400 Received: by iedfl3 with SMTP id fl3so50774479ied.1; Thu, 07 May 2015 10:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=K3o05LCzikQMnpPKfaOPmq8hP+ZgF53Rlpl6saqZ9Lc=; b=TFdWYy+m1rgwT01Ao0PdytQfzk39fadObaoF6UZkFY7sEQY1Kna2cNlim11hW+JApZ Ja8bmShWagnSJpQogRHqK0jE3zCXskTtu9mxnmRd1icFf8I4wP3RkA85P+s2wsSypifZ yNUxMhr2r/VDWxagiBHNIIMhRUY+6I1u8Jt/STRToQ7o5nipIQqdP5VQIx4+xmhMKdzc 6nQ4mi5Y4tnRpSdrDLlB4V/x6+551AatPXMPlPSpl8yBi4QAPQz6xk12jCdOZqhpFWVL BHYpkXzWFbIN7lWgoaTUI7an6ha9ggy1Cc1HzFvaZImKQdJvMHyVnu5jgQ82euyCosit 97Kg== X-Received: by 10.50.66.172 with SMTP id g12mr6023047igt.34.1431020992102; Thu, 07 May 2015 10:49:52 -0700 (PDT) Received: from toughbook.com (user-0c8ho8q.cable.mindspring.com. [24.136.225.26]) by mx.google.com with ESMTPSA id k74sm1725971iok.30.2015.05.07.10.49.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 May 2015 10:49:51 -0700 (PDT) From: Dan Streetman To: Herbert Xu , "David S. Miller" , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras Cc: Seth Jennings , Robert Jennings , Rob Herring , Anton Blanchard , linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Dan Streetman Subject: [PATCH 01/10] powerpc: export of_get_ibm_chip_id function Date: Thu, 7 May 2015 13:49:12 -0400 Message-Id: <1431020961-22285-2-git-send-email-ddstreet@ieee.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1431020961-22285-1-git-send-email-ddstreet@ieee.org> References: <1431020961-22285-1-git-send-email-ddstreet@ieee.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Export the of_get_ibm_chip_id() function. This will be used by the PowerNV NX-842 driver. Signed-off-by: Dan Streetman --- arch/powerpc/kernel/prom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 308c5e1..ea2cea7 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@ -800,6 +800,7 @@ int of_get_ibm_chip_id(struct device_node *np) } return -1; } +EXPORT_SYMBOL(of_get_ibm_chip_id); /** * cpu_to_chip_id - Return the cpus chip-id