apic: convert ->busdev.qdev casts to C casts
authorZhu Guihua <zhugh.fnst@cn.fujitsu.com>
Wed, 20 May 2015 02:40:47 +0000 (10:40 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 2 Jun 2015 18:15:52 +0000 (15:15 -0300)
commitbe9f8a08727e46c790adb8caa8a4525a1e8e9e73
tree82b21cd9b2d202b0869175382d97a53750b64b46
parent458cf469f4a1cb520b07092f5537c5a6d2389d23
apic: convert ->busdev.qdev casts to C casts

Use C casts to avoid accessing ICCDevice's qdev field
directly.

Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Acked-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/intc/apic.c