From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PetOh-0005p9-5X for barebox@lists.infradead.org; Mon, 17 Jan 2011 18:01:43 +0000 Date: Mon, 17 Jan 2011 19:01:37 +0100 From: Sascha Hauer Message-ID: <20110117180137.GN9041@pengutronix.de> References: <20110114093937.GF24373@pengutronix.de> <1295139858-9193-1-git-send-email-marc@cpdesign.com.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1295139858-9193-1-git-send-email-marc@cpdesign.com.au> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: cdev name generation To: Marc Reilly Cc: barebox@lists.infradead.org Hi Marc, On Sun, Jan 16, 2011 at 12:04:17PM +1100, Marc Reilly wrote: > Hi Sascha, > > Do you mean something like this attached patch? Yes > I preferred having the possibilty for assigning the id, so that boards can have > some expectations of what the device name will be. Generally a good idea, but how do you want to pass previd to the drivers using it? via platform_data? I haven't looked into it to see if this works well. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox