[PATCH] MTD: NAND: ams-delta: drop omap_read/write, use ioremap

Tony Lindgren tony at atomide.com
Fri Dec 17 18:52:19 EST 2010


* Janusz Krzysztofik <jkrzyszt at tis.icnet.pl> [101215 06:44]:
> There is a common requirement for not using OMAP specific omap_readw() / 
> omap_writew() function calls in drivers/, but replace them with 
> readw() / writew() on ioremap()ped addresses passed from arch/ instead.
> 
> The patch implements this idea for the Amstrad Delta NAND driver. To be 
> able to use the modified driver, the board file is updated with the 
> platform device I/O resource declaration, which is passed from there.
> 
> Created and tested against linux-2.6.37-rc5, on top of recent patch 
> 'MTD: NAND: ams-delta: convert to platform driver'.

Acked-by: Tony Lindgren <tony at atomide.com>



More information about the linux-mtd mailing list