Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751968Ab0KGRRs (ORCPT ); Sun, 7 Nov 2010 12:17:48 -0500 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:48271 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008Ab0KGRRr (ORCPT ); Sun, 7 Nov 2010 12:17:47 -0500 Date: Sun, 7 Nov 2010 17:17:26 +0000 From: Russell King - ARM Linux To: Alexey Charkov Cc: linux-arm-kernel@lists.infradead.org, vt8500-wm8505-linux-kernel@googlegroups.com, Eric Miao , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Albin Tonnerre , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6 v2] ARM: Add basic architecture support for VIA/WonderMedia 85xx SoC's Message-ID: <20101107171726.GF1759@n2100.arm.linux.org.uk> References: <1289147348-31969-1-git-send-email-alchark@gmail.com> <20101107165745.GB1759@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 798 Lines: 17 On Sun, Nov 07, 2010 at 08:08:45PM +0300, Alexey Charkov wrote: > I believe it can. Thanks for the info, I just didn't know about that. > Will fix this shortly. > > Is it OK to leave resources assignment in map_io or is there a better > place to do that as well? Well, surely resources don't need to be set this early, because they're not going to be used before their associated devices are registered - which presumably happens in your init_machine callback. So, can you not call a function from the init_machine callbacks to setup these resources? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/