ahci: Move QOM macro to header
commitdc15d9eb419c9c27e3c76741320b5134b15f4d57
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:28 +0000 (25 15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (27 14:04 -0400)
tree1e84b4e5a46fb0e310fa4b786e40290a461e33ae
parente6fcd78008e2ba757e1577c6d67520d6be62c96c
ahci: Move QOM macro to header

Move the ALLWINNER_AHCI macro close to the TYPE_ALLWINNER_AHCI
define.

This will make future conversion to OBJECT_DECLARE* easier.

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-33-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ide/ahci-allwinner.c
include/hw/ide/ahci.h