mcf_fec: Move mcf_fec_state typedef to header
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:16 +0000 (15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (14:04 -0400)
commit3c03b563706bcf64ad4d8d63bd56e5bfb8141efc
treed71f60503f1d7be765b28fe56fb6537bd453e478
parent3932885af6878cc2486213c71c308cd5bc0db36b
mcf_fec: Move mcf_fec_state typedef to header

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: 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-21-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/net/mcf_fec.c
include/hw/m68k/mcf_fec.h