aboutsummaryrefslogtreecommitdiff
path: root/core/opal.c
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2018-06-20 13:49:36 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-06-27 17:19:01 +1000
commitef623f91e5c4719e65784fa976f9227a6926939d (patch)
tree18a6816fcca9ffa9d06ebbda22884802fdb75e52 /core/opal.c
parent815417dcda2e87fc5f1aa087ae5374515cdd86df (diff)
downloadskiboot-ef623f91e5c4719e65784fa976f9227a6926939d.zip
skiboot-ef623f91e5c4719e65784fa976f9227a6926939d.tar.gz
skiboot-ef623f91e5c4719e65784fa976f9227a6926939d.tar.bz2
occ: Move occ declarations into occ.h
OCC declarations are currently split between skiboot.h and occ-sensor.h. Given the growing unwieldyness of skiboot.h it's probably time to move it all into one header. Rename occ-sensor.h to occ.h, move all OCC-related declarations out of skiboot.h, and add #includes as necessary. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Reviewed-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core/opal.c')
-rw-r--r--core/opal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/opal.c b/core/opal.c
index e3a3bbd..7ffca9c 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -31,6 +31,7 @@
#include <timer.h>
#include <elf-abi.h>
#include <errorlog.h>
+#include <occ.h>
/* Pending events to signal via opal_poll_events */
uint64_t opal_pending_events;