From db952315c5f91c74d566196038a0d49dc3692ddb Mon Sep 17 00:00:00 2001 From: Victor Sun Date: Tue, 14 May 2019 11:05:19 +0800 Subject: [PATCH] HV: fix MISRA violation of host_pm.h The header need struct pm_s_state_data info which declared in acrn_common.h; Tracked-On: #1842 Signed-off-by: Victor Sun --- hypervisor/include/arch/x86/host_pm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypervisor/include/arch/x86/host_pm.h b/hypervisor/include/arch/x86/host_pm.h index 569b75458..c3d0469fc 100644 --- a/hypervisor/include/arch/x86/host_pm.h +++ b/hypervisor/include/arch/x86/host_pm.h @@ -6,6 +6,8 @@ #ifndef HOST_PM_H #define HOST_PM_H +#include + #define BIT_SLP_TYPx 10U #define BIT_SLP_EN 13U #define BIT_WAK_STS 15U