i8254: Move PITCommonState/PITCommonClass typedefs to i8254.h
commitcc963dcd7248db55b877d2ddd7b20a794d7ec182
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:14 +0000 (25 15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (27 14:04 -0400)
tree1ee6d98aa03670fadb0996b77da1e9bf1b1de1be
parent616bbde34293226e5c957761982ebaf1eff69d90
i8254: Move PITCommonState/PITCommonClass typedefs to i8254.h

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
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-19-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/timer/i8254.h
include/hw/timer/i8254_internal.h