]> git.proxmox.com Git - mirror_qemu.git/commit
net/pcnet-pci: QOM Upcast Sweep
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 24 Jun 2013 06:52:00 +0000 (16:52 +1000)
committerAndreas Färber <afaerber@suse.de>
Mon, 22 Jul 2013 22:37:33 +0000 (00:37 +0200)
commit1f8c79468594cc059eac7a26d37fba48107cb2e4
tree4e053766a4cd8df8f521cda90fe2f593700e3ec3
parent88a411a8a09102b89ea52fe2511265edd3393cf2
net/pcnet-pci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[AF: Renamed parent field, renamed from PC_NET to PCNET]
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/net/pcnet-pci.c