From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: [PATCH 05/14] fdt: Export fdtdec_find_alias_node() function Date: Fri, 26 Oct 2012 15:24:33 +1100 Message-ID: <20121026042433.GL7222@truffula.fritz.box> References: <1351218671-15228-1-git-send-email-sjg@chromium.org> <1351218671-15228-6-git-send-email-sjg@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1351218671-15228-6-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Simon Glass Cc: Tom Rini , U-Boot Mailing List , Jerry Van Baren , Devicetree Discuss List-Id: devicetree@vger.kernel.org On Thu, Oct 25, 2012 at 07:31:02PM -0700, Simon Glass wrote: > This function is useful outside fdtdec, so export it. Hrm. fdt_path_offset() in libfdt itself will already look up aliases if given a path that doesn't start with '/'. So it's not clear why you need this function at all. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson