aboutsummaryrefslogtreecommitdiff
path: root/hw/p8-i2c.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-02-06 13:11:25 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-06 13:11:25 +1100
commitd195fd680eac1044681fd265edfbf342888f4a93 (patch)
tree1c97fb792d7e478ab2f7c74e7d923f04372542ad /hw/p8-i2c.c
parentcf6b20d6caf159da1dfad978824f817675a9c538 (diff)
downloadskiboot-d195fd680eac1044681fd265edfbf342888f4a93.zip
skiboot-d195fd680eac1044681fd265edfbf342888f4a93.tar.gz
skiboot-d195fd680eac1044681fd265edfbf342888f4a93.tar.bz2
Move skiboot internal things from opal.h to opal-api.h
This is probably not the best collection of things in the world, but it means that opal.h is much closer to being directly usable by an OS. This triggers a bunch of #include fixes throughout the tree. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/p8-i2c.c')
-rw-r--r--hw/p8-i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/p8-i2c.c b/hw/p8-i2c.c
index 3e5334c..4068024 100644
--- a/hw/p8-i2c.c
+++ b/hw/p8-i2c.c
@@ -17,6 +17,8 @@
#undef DEBUG
#include <opal.h>
+#include <skiboot.h>
+#include <mem_region-malloc.h>
#include <lock.h>
#include <chip.h>
#include <i2c.h>