ppc: pnv: consolidate type definitions and batch register them
commitbeba5c0fe48bf80011ceeaacf0df0c186e413bc0
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Oct 2017 19:51:11 +0000 (9 21:51 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Oct 2017 23:34:01 +0000 (17 10:34 +1100)
treebda1ab24750b84bce549319482da601fbefebe15
parent40abf43f72b584d426d7b27ab2528ecd12eceff6
ppc: pnv: consolidate type definitions and batch register them

Use a new DEFINE_TYPES() helper to simplify type registration

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c