aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2016-09-28 05:10:56 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-10 15:29:37 +1100
commit1a25de440d411d932f0aab33ab661ee3a1f45ac9 (patch)
tree9da5cdb5608eb728c14363a8fda0641e50454f61 /include
parentcf39c2a7dd1a2ee9b19a5490f7fa25690b8e8ae3 (diff)
downloadskiboot-1a25de440d411d932f0aab33ab661ee3a1f45ac9.zip
skiboot-1a25de440d411d932f0aab33ab661ee3a1f45ac9.tar.gz
skiboot-1a25de440d411d932f0aab33ab661ee3a1f45ac9.tar.bz2
include/capp.h: add #include guard
This adds #include guard for include/capp.h Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/capp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/capp.h b/include/capp.h
index f5494e7..c76258b 100644
--- a/include/capp.h
+++ b/include/capp.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2014 IBM Corp.
+/* Copyright 2013-2016 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef __CAPP_H
+#define __CAPP_H
+
struct capp_lid_hdr {
be64 eyecatcher; /* 'CAPPLIDH' in ASCII */
be64 version;
@@ -87,3 +90,5 @@ enum capp_reg {
* The addresses of CAPP1 XSCOMS registers are 0x180 away.
*/
#define CAPP1_REG_OFFSET 0x180
+
+#endif /* __CAPP_H */