diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-12-09 00:15:57 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-09 11:09:01 +0100 |
commit | 03c0a9f086537310afe4ce2f5168e4fc41418f33 (patch) | |
tree | 84ac6e79226c3afbc7182c9b4bff16cb157113a0 /hw | |
parent | 33da017ae9687ed25903361895140b82a584fa3f (diff) | |
download | skiboot-03c0a9f086537310afe4ce2f5168e4fc41418f33.zip skiboot-03c0a9f086537310afe4ce2f5168e4fc41418f33.tar.gz skiboot-03c0a9f086537310afe4ce2f5168e4fc41418f33.tar.bz2 |
hw/lpc: fix compilation error
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>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/lpc-port80h.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/lpc-port80h.c b/hw/lpc-port80h.c index 0d1fee9..0d51ad3 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> |