e1000: Rename QOM class cast macros
commitc51325d865110fc356f855544ac47d0afdeb0df6
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:19:57 +0000 (25 15:19 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (27 14:04 -0400)
tree7e1cee59eabbd87e08a126c35637624f9c69783c
parentfadb055bd4abcb3f356854742c1493560a7d136e
e1000: Rename QOM class cast macros

Rename the E1000_DEVICE_CLASS() and E1000_DEVICE_GET_CLASS()
macros to be consistent with the E1000() instance cast macro.

This will allow us to register the type cast macros using
OBJECT_DECLARE_TYPE later.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/net/e1000.c