block/nand: Convert Sysbus::init to Device::realize
commitd47a5d9b9dda19f975320b72c386c581dad32c7a
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 18 Jun 2013 11:11:52 +0000 (18 21:11 +1000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Jun 2013 18:15:45 +0000 (25 19:15 +0100)
tree449efa5ded7434923a9e5b29d49a41fc19f21216
parente12078cc62f2b4a947903efef803ab1b2e13cfa1
block/nand: Convert Sysbus::init to Device::realize

The prescribed transition from Sysbus::init function to a
Device::realize.

Cc: afaerber@suse.de
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/block/nand.c