From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from caramon.arm.linux.org.uk (caramon.arm.linux.org.uk [78.32.30.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2B0042C007C for ; Sun, 17 Feb 2013 21:41:32 +1100 (EST) Date: Sun, 17 Feb 2013 10:19:58 +0000 From: Russell King - ARM Linux To: Shawn Guo Subject: Re: [PATCH 2/2] of: use platform_device_add Message-ID: <20130217101958.GR17833@n2100.arm.linux.org.uk> References: <1358473200-17886-1-git-send-email-grant.likely@secretlab.ca> <1358473200-17886-2-git-send-email-grant.likely@secretlab.ca> <20130217030331.GA15048@S2101-09.ap.freescale.net> <20130217074317.GB16632@S2101-09.ap.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20130217074317.GB16632@S2101-09.ap.freescale.net> Sender: Russell King - ARM Linux Cc: Jason Gunthorpe , linux-kernel@vger.kernel.org, Rob Herring , Greg Kroah-Hartman , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Feb 17, 2013 at 03:43:20PM +0800, Shawn Guo wrote: > It also breaks all of_amba_device users. > > of_amba_device_create() --> amba_device_add() --> request_resource() > and fails. Presumably that's because we no longer know what the parent resource is supposed to be?