Message ID | 20190819071133.10588-1-yamada.masahiro@socionext.com |
---|---|
State | New |
Headers | show |
Series | device_cgroup: add include guard to device_cgroup.h | expand |
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 */
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- include/linux/device_cgroup.h | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1