hw/tpm: Clean includes
commitb05b6e36066b72402d0afce0392f276bbd98d1e3
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 7 Feb 2022 08:27:48 +0000 (7 09:27 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 21 Feb 2022 09:18:06 +0000 (21 10:18 +0100)
tree7e83c47d02f2406cb6eb610851a41060f8bbb9ed
parent46fc41176099a5afbbb192159f4bd9c583f2f3d0
hw/tpm: Clean includes

"tpm_ppi.h" only requires to include "exec/memory.h" to get
the MemoryRegion declaration.

tpm_ppi.c requires "hw/qdev-core.h" to use the DEVICE() macro,
tpm_crb.c is the only source file requiring "exec/address-spaces.h".

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220207082756.82600-2-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/tpm/tpm_crb.c
hw/tpm/tpm_ppi.c
hw/tpm/tpm_ppi.h