From patchwork Wed May 6 16:50:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Streetman X-Patchwork-Id: 6351421 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 747C4BEEE1 for ; Wed, 6 May 2015 16:55:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F6FF20328 for ; Wed, 6 May 2015 16:55:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BCB8B20115 for ; Wed, 6 May 2015 16:55:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751183AbbEFQwj (ORCPT ); Wed, 6 May 2015 12:52:39 -0400 Received: from mail-ig0-f177.google.com ([209.85.213.177]:38444 "EHLO mail-ig0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbbEFQwh (ORCPT ); Wed, 6 May 2015 12:52:37 -0400 Received: by igbhj9 with SMTP id hj9so22119936igb.1; Wed, 06 May 2015 09:52:36 -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=qTJ6P1O0P8s62gS0X9ZkjL7OoE42POz3kABfGnn//Arz/CFn9HZNhE1EtLvOn3r9Zd JljX1oT5+iW00+e5Pf1HJ74AdeJODOk611ehfFxbytzZPRiOUSO7Ekjo1FPD8oP7nhOj 1X/xLVMjY+ixWi8BA3t9qNqiKjBYl1qRnIY5Ba7EX3aH/p5SvPOKN+pK4TJe2YmVg6xC YDBznuaazKeP9emahXzOyMfy74C5kG1BYeYQgk0Tr/iZ8JlFYz1pVsGfOhx1cmSPcKOY QG4a4gnSTQIDBHAaaIIojwqdAUajk5sl1rP9uw5EfvyZTVDjNKBY2xmolS1v1W1nZvOC UaEw== X-Received: by 10.42.76.146 with SMTP id e18mr3632326ick.42.1430931156483; Wed, 06 May 2015 09:52:36 -0700 (PDT) Received: from toughbook.com (user-0c8ho8q.cable.mindspring.com. [24.136.225.26]) by mx.google.com with ESMTPSA id m9sm1143291igv.4.2015.05.06.09.52.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 May 2015 09:52:35 -0700 (PDT) From: Dan Streetman To: Herbert Xu , "David S. Miller" , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras Cc: Dan Streetman , Seth Jennings , Robert Jennings , Rob Herring , Anton Blanchard , linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/10] powerpc: export of_get_ibm_chip_id function Date: Wed, 6 May 2015 12:50:57 -0400 Message-Id: <1430931066-4536-2-git-send-email-ddstreet@ieee.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1430931066-4536-1-git-send-email-ddstreet@ieee.org> References: <1428428070-17803-1-git-send-email-ddstreet@ieee.org> <1430931066-4536-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