summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2019-07-26 08:55:44 +0200
committerIago Toral Quiroga <[email protected]>2019-08-08 08:36:52 +0200
commit5ffb8b1716f9282a4f5326ba3768d887601c3688 (patch)
treeadc0cda6a77babbe843675171cbada7e489921b0 /src/broadcom
parente7eac8a1e8ed098ce3b6c5e823cd6b8526540909 (diff)
v3d: add header guards in v3d_packet_helpers.h
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/cle/v3d_packet_helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/broadcom/cle/v3d_packet_helpers.h b/src/broadcom/cle/v3d_packet_helpers.h
index c46089a0e60..841df89b32a 100644
--- a/src/broadcom/cle/v3d_packet_helpers.h
+++ b/src/broadcom/cle/v3d_packet_helpers.h
@@ -21,6 +21,9 @@
* IN THE SOFTWARE.
*/
+#ifndef MESA_V3D_PACKET_HELPERS_H
+#define MESA_V3D_PACKET_HELPERS_H
+
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
@@ -214,3 +217,4 @@ __gen_unpack_f187(const uint8_t *restrict cl, uint32_t start, uint32_t end)
return uif(bits << 16);
}
+#endif