summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/v4l2_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/v4l2_device.h')
-rw-r--r--include/libcamera/internal/v4l2_device.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/v4l2_device.h b/include/libcamera/internal/v4l2_device.h
index f21bc370..7816a290 100644
--- a/include/libcamera/internal/v4l2_device.h
+++ b/include/libcamera/internal/v4l2_device.h
@@ -4,8 +4,8 @@
*
* v4l2_device.h - Common base for V4L2 video devices and subdevices
*/
-#ifndef __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__
-#define __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__
+
+#pragma once
#include <map>
#include <memory>
@@ -79,5 +79,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__ */