On 2/4/22 06:37, Philippe Mathieu-Daudé wrote:
"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é<[email protected]>
---
  hw/tpm/tpm_crb.c | 1 +
  hw/tpm/tpm_ppi.c | 4 ++--
  hw/tpm/tpm_ppi.h | 4 ++--
  3 files changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to