onenand: Pass BlockDriverState to init function
commitaf5a75f41c2fd172ceaa1cabd4bec99de8dde83a
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jul 2011 15:35:25 +0000 (29 16:35 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Sat, 30 Jul 2011 04:42:03 +0000 (30 06:42 +0200)
tree771b3adfe834fa5014cf82987f35717d68725118
parentd4220389ffcc1e6302e759d3b15f8605201d6369
onenand: Pass BlockDriverState to init function

Pass the BlockDriverState to the onenand init function so it doesn't
need to look up the drive itself.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/flash.h
hw/nseries.c
hw/onenand.c