cdev name generation

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 17 13:01:37 EST 2011


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 |



More information about the barebox mailing list