diff options
author | Magnus Damm <[email protected]> | 2009-09-18 12:51:44 -0700 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2009-09-19 11:07:50 -0700 |
commit | 778dbcc1ebea6f9a560020110987449bf4607e5f (patch) | |
tree | 014ff1122c3dc6551e67bb65bbce6f3281c1fc2b /scripts/basic/docproc.c | |
parent | f33dabbe79fdf7a8568c65faa1db7794c87ac4d3 (diff) |
mtd: onenand: make onenand/generic.c more generic
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 <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Kyungmin Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions