[PATCH 1/5] device: introduce resource structure to simplify resource delaration

Sascha Hauer s.hauer at pengutronix.de
Thu Jan 27 03:20:08 EST 2011


Hi J,

On Fri, Nov 12, 2010 at 07:18:54PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> introdude also some helper to manager them
> 
> and add multi resource per device support
> 
> ram device: use resource structure instead of memory_platform_data

I would like to split this up a bit more.

First patch could be adding include/linux/ioport.h. Then you can add
users for the resources, like for example some drivers you care of, just
enough to see how resources can be used. When we agree on this we can
convert the bulk of the drivers step by step. Getting rid of
dev->map_base would be the last step, but shouldn't be done in such a
huge patch.

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