[PATCH] OMAP: omap_device: use pdev as parameter to get rt_va

Paul Walmsley paul at pwsan.com
Wed Dec 15 09:53:30 EST 2010


On Wed, 15 Dec 2010, Russell King - ARM Linux wrote:

> No it doesn't - this is not a valid reason to bugger about with drivers
> to make them non-standard.
> 
> omap_ioremap() can be improved to retain its re-use of static mappings
> by having some kind of tree structure or something like that - ioremap
> is after all not a performance critical path.  There's no need to start
> passing virtual addresses to drivers.

OK, that's the approach we'll take then, when or if that needs to happen.

Omar, please ignore my earlier post and just call ioremap() directly from 
your driver code.


- Paul




More information about the linux-arm-kernel mailing list