summaryrefslogtreecommitdiff
path: root/include/uapi/linux/pg.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-20 15:05:25 +0300
committerJens Axboe <axboe@kernel.dk>2019-10-03 05:32:27 +0300
commit3a4b46c3bc73240b31cd324b3551fc4231d9f1d5 (patch)
tree4dbe85be8f4d79f199d595f4bbe081f95806a737 /include/uapi/linux/pg.h
parent964ce509e2ded52c1a61ad86044cc4d70abd9eb8 (diff)
downloadlinux-3a4b46c3bc73240b31cd324b3551fc4231d9f1d5.tar.xz
block: pg: add header include guard
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/pg.h')
-rw-r--r--include/uapi/linux/pg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/pg.h b/include/uapi/linux/pg.h
index 364c350e85cd..62b6f69bd9fb 100644
--- a/include/uapi/linux/pg.h
+++ b/include/uapi/linux/pg.h
@@ -35,6 +35,9 @@
*/
+#ifndef _UAPI_LINUX_PG_H
+#define _UAPI_LINUX_PG_H
+
#define PG_MAGIC 'P'
#define PG_RESET 'Z'
#define PG_COMMAND 'C'
@@ -61,4 +64,4 @@ struct pg_read_hdr {
};
-/* end of pg.h */
+#endif /* _UAPI_LINUX_PG_H */