From patchwork Tue Apr 7 17:34:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Streetman X-Patchwork-Id: 6174181 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 71D78BF4A6 for ; Tue, 7 Apr 2015 17:38:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 972FC203A5 for ; Tue, 7 Apr 2015 17:38:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B37EB20263 for ; Tue, 7 Apr 2015 17:37:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753411AbbDGRfL (ORCPT ); Tue, 7 Apr 2015 13:35:11 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:38184 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753415AbbDGRfG (ORCPT ); Tue, 7 Apr 2015 13:35:06 -0400 Received: by igbqf9 with SMTP id qf9so18133253igb.1; Tue, 07 Apr 2015 10:35:05 -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=ZfrLIwFBOI3tKfXCsHtSglmOuDHgvQf2efkN5FPZIHM=; b=xvFpJQfpgaz4JljfTKBvjNFO/yMjgdfb9QVyFtvT4a9kMsOWb224RpQNAw0MWTAHh0 cn3IRCAw3weSja4AtwV8Ac+g24xqVr5MVkTY761I/uxSCI9SHUrvesNAqvdnSEWgpzM5 aYKnD6YiLPyRV+c/389T0bzwu16ErrOB4vkLrmLWP6gYfSmCzYFhjIHm9nvb8zpSVoQ7 6oW7UREWB3fDCMxy3xl8Zz283Y/s6zilvIelIpFW2WcKy8koEFsB0QkuXtscV76jUmyP WxfKQTCE7DBJt6UT3v1JmY4Dqh5V/FHnh4NRDPBiLlilmiUR3tBQmy96Bb0PfYOUb3vn v+rA== X-Received: by 10.50.73.99 with SMTP id k3mr5414747igv.21.1428428105387; Tue, 07 Apr 2015 10:35:05 -0700 (PDT) Received: from toughbook.com (user-0c8ho8q.cable.mindspring.com. [24.136.225.26]) by mx.google.com with ESMTPSA id i20sm5139261igh.16.2015.04.07.10.35.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Apr 2015 10:35:04 -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/11] powerpc: export of_get_ibm_chip_id function Date: Tue, 7 Apr 2015 13:34:20 -0400 Message-Id: <1428428070-17803-2-git-send-email-ddstreet@ieee.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1428428070-17803-1-git-send-email-ddstreet@ieee.org> References: <1428428070-17803-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 b8e15c6..f9fb9a2 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