From: David Brownell Subject: Re: [PATCH] spi/mpc5121: register spi child devices of spi node Date: Tue, 27 Jul 2010 00:07:28 -0700 (PDT) Message-ID: <793633.1143.qm@web180310.mail.gq1.yahoo.com> References: <20100727151428.4a067f0e@feng-i7> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , Anatolij Gustschin , alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org To: Feng Tang Return-path: In-Reply-To: <20100727151428.4a067f0e@feng-i7> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org --- On Tue, 7/27/10, Feng Tang wrote: > be delayed registering, can we adjust it to make > register_board_info() > be callable after spi controller is inited? Which makes spi > bus like > general pci/usb bus, where devices/drivers have no > registering order limit. They require parents to be registered before children. In particular: bus segments before devices on them. SPI is no different (nor should it be). ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/