]> git.proxmox.com Git - qemu.git/commit
hw/nand: Pass block device state to init function
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jul 2011 15:35:19 +0000 (16:35 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Sat, 30 Jul 2011 04:00:45 +0000 (06:00 +0200)
commit522f253ca8c731aafc8e53087a18f6015c4e776e
tree894cdc4ed1e39119e6315a7add5fdb6a95cfa094
parentc4f05c8cf715fa613e1985421080e62a7b169284
hw/nand: Pass block device state to init function

Pass the BlockDeviceState to the nand_init() function rather
than having it look it up via drive_get() itself.

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