From patchwork Wed Nov 28 19:42:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Fontenot X-Patchwork-Id: 202538 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id AC5722C0081 for ; Thu, 29 Nov 2012 06:43:13 +1100 (EST) Received: from e4.ny.us.ibm.com (e4.ny.us.ibm.com [32.97.182.144]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e4.ny.us.ibm.com", Issuer "GeoTrust SSL CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 331EE2C0081 for ; Thu, 29 Nov 2012 06:42:46 +1100 (EST) Received: from /spool/local by e4.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 28 Nov 2012 14:42:42 -0500 Received: from d01dlp03.pok.ibm.com (9.56.250.168) by e4.ny.us.ibm.com (192.168.1.104) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 28 Nov 2012 14:42:40 -0500 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id AA0A7C90058 for ; Wed, 28 Nov 2012 14:42:39 -0500 (EST) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qASJgRYH37683422 for ; Wed, 28 Nov 2012 14:42:28 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qASJgRgQ008345 for ; Wed, 28 Nov 2012 14:42:27 -0500 Received: from [9.41.105.201] ([9.41.105.201]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id qASJgQYK008309; Wed, 28 Nov 2012 14:42:26 -0500 Message-ID: <50B66922.9090209@linux.vnet.ibm.com> Date: Wed, 28 Nov 2012 13:42:26 -0600 From: Nathan Fontenot User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: Stephen Rothwell Subject: [PATCH] export of_reconfig_notifier_[register,unregister] References: <20121128140308.abb21ec8f61553a2ed077fe3@canb.auug.org.au> In-Reply-To: <20121128140308.abb21ec8f61553a2ed077fe3@canb.auug.org.au> X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12112819-3534-0000-0000-00000FA4B730 Cc: linux-kernel@vger.kernel.org, Rob Herring , linux-next@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" The of reconfiguration notification chains should be exported for use by modules. Signed-off-by:Nathan Fontenot Index: linux-next/drivers/of/base.c =================================================================== --- linux-next.orig/drivers/of/base.c 2012-11-28 09:18:02.000000000 -0600 +++ linux-next/drivers/of/base.c 2012-11-28 11:05:00.000000000 -0600 @@ -1282,11 +1282,13 @@ { return blocking_notifier_chain_register(&of_reconfig_chain, nb); } +EXPORT_SYMBOL_GPL(of_reconfig_notifier_register); int of_reconfig_notifier_unregister(struct notifier_block *nb) { return blocking_notifier_chain_unregister(&of_reconfig_chain, nb); } +EXPORT_SYMBOL_GPL(of_reconfig_notifier_unregister); int of_reconfig_notify(unsigned long action, void *p) {