diff mbox series

[2/3] hw/lpc: fix compilation error

Message ID 20211208141558.513912-3-npiggin@gmail.com
State Accepted
Headers show
Series grab upstream ccan | expand

Commit Message

Nicholas Piggin Dec. 8, 2021, 2:15 p.m. UTC
Compilation can fail when building tests if the opal-api.h include
is not pulled in via headers. Include it directly.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
 hw/lpc-port80h.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/hw/lpc-port80h.c b/hw/lpc-port80h.c
index 0d1fee99e..0d51ad3f6 100644
--- a/hw/lpc-port80h.c
+++ b/hw/lpc-port80h.c
@@ -7,6 +7,7 @@ 
 
 #define pr_fmt(fmt)	"Port80h: " fmt
 
+#include <opal-api.h>
 #include <lpc.h>
 #include <op-panel.h>
 #include <chip.h>