spapr: nvdimm: Forward declare and move the definitions
commitf93c8f148c0f6c2e20c29c54276862ee79a53d02
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Tue, 18 May 2021 12:03:17 +0000 (18 08:03 -0400)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 3 Jun 2021 03:22:06 +0000 (3 13:22 +1000)
tree7cea267c21c08ac1be92d715903e4d7a0b56260a
parentac9ef668321ebb6eb871a0c4dd380fa7d7891b4e
spapr: nvdimm: Forward declare and move the definitions

The subsequent patches add definitions which tend to get
the compilation to cyclic dependency. So, prepare with
forward declarations, move the definitions and clean up.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Message-Id: <162133925415.610.11584121797866216417.stgit@4f1e6f2bd33e>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_nvdimm.c
include/hw/ppc/spapr_nvdimm.h