Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <[email protected]>
---
include/linux/device_cgroup.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/linux/device_cgroup.h b/include/linux/device_cgroup.h
index 8557efe096dc..7c1d832d29a6 100644
--- a/include/linux/device_cgroup.h
+++ b/include/linux/device_cgroup.h
@@ -1,4 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef _LINUX_DEVICE_CGROUP_H
+#define _LINUX_DEVICE_CGROUP_H
+
#include <linux/fs.h>
#include <linux/bpf-cgroup.h>
@@ -77,3 +81,5 @@ static inline int devcgroup_inode_permission(struct inode *inode, int mask)
static inline int devcgroup_inode_mknod(int mode, dev_t dev)
{ return 0; }
#endif
+
+#endif /* _LINUX_DEVICE_CGROUP_H */
--
2.17.1