summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/sysfs.h')
-rw-r--r--include/libcamera/internal/sysfs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/sysfs.h b/include/libcamera/internal/sysfs.h
index bc6c1620..917457be 100644
--- a/include/libcamera/internal/sysfs.h
+++ b/include/libcamera/internal/sysfs.h
@@ -4,8 +4,8 @@
*
* sysfs.h - Miscellaneous utility functions to access sysfs
*/
-#ifndef __LIBCAMERA_INTERNAL_SYSFS_H__
-#define __LIBCAMERA_INTERNAL_SYSFS_H__
+
+#pragma once
#include <string>
@@ -20,5 +20,3 @@ std::string firmwareNodePath(const std::string &device);
} /* namespace sysfs */
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_SYSFS_H__ */