From patchwork Tue Apr 2 16:28:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2379181 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 793F43FD8C for ; Tue, 2 Apr 2013 16:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761764Ab3DBQ2R (ORCPT ); Tue, 2 Apr 2013 12:28:17 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:59567 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761757Ab3DBQ2N (ORCPT ); Tue, 2 Apr 2013 12:28:13 -0400 Received: from axis700.grange (dslb-188-109-035-074.pools.arcor-ip.net [188.109.35.74]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MUyXA-1U8tGh426W-00YLZV; Tue, 02 Apr 2013 18:28:12 +0200 Received: by axis700.grange (Postfix, from userid 1000) id 81D4540BB4; Tue, 2 Apr 2013 18:28:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id 76C8640BB3; Tue, 2 Apr 2013 18:28:11 +0200 (CEST) Date: Tue, 2 Apr 2013 18:28:11 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: Linux Media Mailing List cc: Sylwester Nawrocki , devicetree-discuss@lists.ozlabs.org, Grant Likely , Rob Herring Subject: [PATCH] DT: export of_get_next_parent() for use by modules: fix modular V4L2 Message-ID: MIME-Version: 1.0 X-Provags-ID: V02:K0:vD+F4Se9ejgFbxaLoA9csBh4oS4/QfJjriuZymA6hbt HOxPfDt6Ocv7DL3nJmQI6EOJTdpsTZe9dfoW1uKz6wmnzdoR++ oY2+9zEpVYeFytdPJTPHrHU0VtSuO5T2qoahMsnX4UWwmWGB5B EYal+FL5YzyHsMdZ5FfERObP2Ztg5I7aKVGTbzXknq+bhgMn9d DiwHpaW2sxlScA2fMlb40/jKVcefhaZjCIVDx7KFvhvqnZVALw cKvBgbHgOxfb+fDG3PtR91kHOZaV0NdkMZPO4oBdPYk2i0NGrF y6DPObPS7MKVKdcFgAApU23XRnWV8qzOidI9O7U5dzZJBSmokT RYSVlEry9EspUOp6Ni71XewgPP8fr236JshXz3NhUUy4S84kI6 jdm3R9EI1y9+g== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Currently modular V4L2 build with enabled OF is broken dur to the of_get_next_parent() function being unavailable to modules. Export it to fix the build. Cc: Sylwester Nawrocki Signed-off-by: Guennadi Liakhovetski Acked-by: Grant Likely --- This is for 3.10 drivers/of/base.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 321d3ef..1733081 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -382,6 +382,7 @@ struct device_node *of_get_next_parent(struct device_node *node) raw_spin_unlock_irqrestore(&devtree_lock, flags); return parent; } +EXPORT_SYMBOL(of_get_next_parent); /** * of_get_next_child - Iterate a node childs