[patch 8/8] mtd: make onenand/generic.c more generic

Artem Bityutskiy dedekind1 at gmail.com
Mon Aug 10 03:13:26 EDT 2009


On Thu, 2009-08-06 at 16:05 -0700, akpm at linux-foundation.org wrote:
> From: Magnus Damm <damm at igel.co.jp>
> 
> Remove the ARM dependency from the generic "onenand" platform device
> driver.  This change makes the driver useful for other architectures as
> well.  Needed for the SuperH kfr2r09 board.
> 
> Apart from the obvious Kconfig bits, the most important change is the move
> away from ARM specific includes and platform data.  Together with this
> change the only in-tree board code gets an update, and the driver name is
> also changed gracefully break potential out of tree drivers.
> 
> The driver is also updated to allow NULL as platform data together with a
> few changes to make use of resource_size() and dev_name().
> 
> Signed-off-by: Magnus Damm <damm at igel.co.jp>
> Cc: Paul Mundt <lethal at linux-sh.org>
> Cc: David Woodhouse <dwmw2 at infradead.org>
> Cc: Tony Lindgren <tony at atomide.com>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>

This one is in my l2-mtd-2.6.git as well now.
-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list