aboutsummaryrefslogtreecommitdiff
path: root/include/npu.h
diff options
context:
space:
mode:
authorRussell Currey <ruscur@russell.cc>2016-03-21 12:00:02 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-03-31 16:41:17 +1100
commit5254e3957e8de68592f1ee1f22f9a46868c7161a (patch)
tree80c4aebcabcab140200bb8067774de2968815f04 /include/npu.h
parent3d66ba68a9fabf37cd11b20275f83b42d8d77933 (diff)
downloadskiboot-5254e3957e8de68592f1ee1f22f9a46868c7161a.zip
skiboot-5254e3957e8de68592f1ee1f22f9a46868c7161a.tar.gz
skiboot-5254e3957e8de68592f1ee1f22f9a46868c7161a.tar.bz2
npu: Fix include in header
If npu.h were to be used by anything that hasn't included io.h, it fails to find the out_be64 symbol. Fix that up by making it a requirement of npu.h. Signed-off-by: Russell Currey <ruscur@russell.cc> Acked-by: Alistair Popple <alistair@popple.id.au> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/npu.h')
-rw-r--r--include/npu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/npu.h b/include/npu.h
index 389b732..0b2d984 100644
--- a/include/npu.h
+++ b/include/npu.h
@@ -17,6 +17,8 @@
#ifndef __NPU_H
#define __NPU_H
+#include <io.h>
+
/* Number of PEs supported */
#define NPU_NUM_OF_PES 4