summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--heatmap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/heatmap.h b/heatmap.h
index cc7a9da..21ddbd0 100644
--- a/heatmap.h
+++ b/heatmap.h
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _HEATMAP_H_
+#define _HEATMAP_H_
+
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/videobuf2-v4l2.h>
@@ -52,4 +55,6 @@ void heatmap_remove(struct v4l2_heatmap *v4l2);
* This function should be called from the driver. Internally, it will call
* read_frame(..) provided by the driver to read the actual data.
*/
-void heatmap_read(struct v4l2_heatmap *v4l2, uint64_t timestamp); \ No newline at end of file
+void heatmap_read(struct v4l2_heatmap *v4l2, uint64_t timestamp);
+
+#endif // _HEATMAP_H_