qdev: remove DeviceType
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Jun 2009 12:12:09 +0000 (14:12 +0200)
committerPaul Brook <paul@codesourcery.com>
Thu, 9 Jul 2009 12:07:03 +0000 (13:07 +0100)
commit042f84d0af0e6c654d836f57ce916d7dec2b263d
treeb7595a3d02e7c474a11d361278629f7c60fe7e49
parent10c4c98ab7dc18169b37b76f6ea5e60ebe65222b
qdev: remove DeviceType

The only purpose DeviceType serves is creating a linked list of
DeviceInfo structs.  This removes DeviceType and add a next field to
DeviceInfo instead, so the DeviceInfo structs can be changed that way.
Elimitates a pointless extra level of indirection.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qdev.c
hw/qdev.h