aboutsummaryrefslogtreecommitdiff
path: root/include/opal.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-31 21:53:18 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-04-01 12:16:38 +1100
commit7ab4251b813ac09785cdb001a7cf354329eb7675 (patch)
tree11ccee9e40d6e6674c4baf31be686b44767ce29f /include/opal.h
parentbca121333446e419b3acf8b7b9ad150a41699c6a (diff)
downloadskiboot-7ab4251b813ac09785cdb001a7cf354329eb7675.zip
skiboot-7ab4251b813ac09785cdb001a7cf354329eb7675.tar.gz
skiboot-7ab4251b813ac09785cdb001a7cf354329eb7675.tar.bz2
Move opal-api.h to opal-internal.h
Move the content of opal-api.h, which is currently "Internal header for OPAL API related things" to opal-internal.h. Recreate opal-api.h as an empty header, until the next commit, so as not to break all the includers of it. Include opal-internal.h from opal.h, but not for assembly users as it's all C declarations. Finally we need to adjust include guard names. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opal.h b/include/opal.h
index 622e1d5..234f5a3 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -19,6 +19,7 @@
#ifdef __SKIBOOT__
#ifndef __ASSEMBLY__
+#include <opal-internal.h>
#include <types.h>
#endif /* __ASSEMBLY__ */
#endif /* __SKIBOOT__ */