summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_device_info.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-11 18:26:22 +0100
committerEmil Velikov <[email protected]>2016-10-14 11:53:37 +0100
commit72e70c00f3855fbeaeffa14d24f7b2c47dfe572b (patch)
treeba8e7b61828724eb3cd1faadb45a84c2d4540e22 /src/intel/common/gen_device_info.h
parent0d86c92dcb7f918b00a1c96e2cb220e21da30d83 (diff)
intel/common: use correct header guards
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/common/gen_device_info.h')
-rw-r--r--src/intel/common/gen_device_info.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/intel/common/gen_device_info.h b/src/intel/common/gen_device_info.h
index 7347db57e4a..10324e6d857 100644
--- a/src/intel/common/gen_device_info.h
+++ b/src/intel/common/gen_device_info.h
@@ -22,7 +22,9 @@
*
*/
-#pragma once
+#ifndef GEN_DEVICE_INFO_H
+#define GEN_DEVICE_INFO_H
+
#include <stdbool.h>
/**
@@ -145,3 +147,5 @@ struct gen_device_info
bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
const char *gen_get_device_name(int devid);
+
+#endif /* GEN_DEVICE_INFO_H */