]> git.proxmox.com Git - mirror_qemu.git/commit - hw/block/nand.c
nand: Don't inherit from Sysbus
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 18 Jun 2013 11:12:41 +0000 (21:12 +1000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Jun 2013 18:15:46 +0000 (19:15 +0100)
commit7426aa72c36c908a7d0eae3e38568bb0a70de479
treeca9dffaa49fe73dfad0a0b1e018fa5dfd5ce7ec7
parentd47a5d9b9dda19f975320b72c386c581dad32c7a
nand: Don't inherit from Sysbus

Nand chips are not sysbus devices - they do not have any sense of MMIO,
nor interrupts. Re-parent to TYPE_DEVICE accordingly.

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