From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: powerpc_flash_init(), wtf!? From: Benjamin Herrenschmidt To: Segher Boessenkool In-Reply-To: References: <20070501051804.GB3881@localhost.localdomain> <20070503103534.63ff67b6@localhost.localdomain> <20070503070358.GA9430@localhost.localdomain> <4639CF44.6020608@ru.mvista.com> <20070503122213.GD26659@localhost.localdomain> <4639E389.4040604@ru.mvista.com> Content-Type: text/plain Date: Fri, 04 May 2007 07:37:53 +1000 Message-Id: <1178228273.6353.57.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2007-05-03 at 18:21 +0200, Segher Boessenkool wrote: > > BTW, is it legal/appropriate to specify device (not bus) types for > > of_platform_bus_probe()? > > In almost all cases you should probe on "name"/"compatible", > and not use "device_type" at all. of_platform_bus_probe() is for busses anyway. Ben.