From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id E71292C008E for ; Thu, 20 Dec 2012 02:04:25 +1100 (EST) Received: by mail-wg0-f50.google.com with SMTP id es5so970903wgb.17 for ; Wed, 19 Dec 2012 07:04:21 -0800 (PST) Sender: Grant Likely From: Grant Likely Subject: Re: [PATCH] of: Fix export of of_find_matching_node_and_match() To: Rob Herring In-Reply-To: <50D1C608.9040001@gmail.com> References: <1355914716-19469-1-git-send-email-grant.likely@secretlab.ca> <50D1C608.9040001@gmail.com> Date: Wed, 19 Dec 2012 15:04:18 +0000 Message-Id: <20121219150418.6EEE03E0AD7@localhost> Cc: Stephen Warren , devicetree-discuss , "linuxppc-dev@lists.ozlabs.org" , Linux Kernel Mailing List , Rob Herring List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 19 Dec 2012 07:50:00 -0600, Rob Herring wrote: > On 12/19/2012 05:02 AM, Grant Likely wrote: > > On Wed, Dec 19, 2012 at 10:58 AM, Grant Likely > > wrote: > >> Commit 50c8af4cf9, "of: introduce for_each_matching_node_and_match()" > >> renamed of_find_matching_node() to of_find_matching_node_and_match() and > >> created a new static inline of_find_matching_node() wrapper around the > >> new name. However, the change neglected to change the EXPORT_SYMBOL() > >> reference causing build errors for modules. > >> > >> This patch fixes the EXPORT_SYMBOL() statement. Discovered on a PowerPC > >> Efika build with the mpc52xx_uart driver being built as a module. > >> > >> Reported-by: Benjamin Herrenschmidt > >> Signed-off-by: Grant Likely > >> Cc: Stephen Warren > >> Cc: Rob Herring > >> Cc: Anatolij Gustschin > > > > Rob, I've just pushed this out to my devicetree/merge branch. If > > you've got any fixes queued up for Linus, then please pull this in > > before sending them on to him. Otherwise I'll send Linus a pull req > > for this fix this evening. Ether way, please reply to let me know what > > you're going to do. > > > > The only item on my todo is this one: > > "of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS" > > But I'm not going to get to it today if you want to pick it up. I don't see that one anywhere. Where did it come from? g.