hw/misc/xlnx-versal-crl: Include generic 'cpu-qom.h' instead of 'cpu.h'
commit8b2c5fb7c7bb3aee2bc56827802425906e4a2f9c
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 18 Jan 2024 20:06:34 +0000 (18 21:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Jan 2024 11:30:48 +0000 (26 11:30 +0000)
tree3a01913f43bc2399963146d502398685d3cc4d12
parent3896b6ffffe97aa387631a62948a51913f12f7e5
hw/misc/xlnx-versal-crl: Include generic 'cpu-qom.h' instead of 'cpu.h'

"target/arm/cpu.h" is target specific, any file including it
becomes target specific too, thus this is the same for any file
including "hw/misc/xlnx-versal-crl.h".

"hw/misc/xlnx-versal-crl.h" doesn't require any target specific
definition however, only the target-agnostic QOM definitions
from "target/arm/cpu-qom.h". Include the latter header to avoid
tainting unnecessary objects as target-specific.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240118200643.29037-14-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/xlnx-versal-crl.c
include/hw/misc/xlnx-versal-crl.h