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: 469754 X-Patchwork-Delegate: michael@ellerman.id.au Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1B0F5140283 for ; Fri, 8 May 2015 03:54:00 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=TFdWYy+m; dkim-atps=neutral Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id E57161A1A7F for ; Fri, 8 May 2015 03:53:59 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=TFdWYy+m; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id DFEDA1A0E2E for ; Fri, 8 May 2015 03:49:53 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=TFdWYy+m; dkim-atps=neutral Received: by igbyr2 with SMTP id yr2so513195igb.0 for ; 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 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> Cc: Rob Herring , linux-kernel@vger.kernel.org, Robert Jennings , linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Seth Jennings , Dan Streetman , Anton Blanchard X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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