aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-29 01:46:43 +0900
committerMartin K. Petersen <martin.petersen@oracle.com>2019-10-09 22:31:14 -0400
commitc51c4841f1571673d9075b8cf5efa6995ea91d0e (patch)
tree485ab6326b6d62d5ca48208bbb94c5b8acf85b39
parentscsi: qla2xxx: Update driver version to 10.01.00.20-k (diff)
downloadlinux-dev-c51c4841f1571673d9075b8cf5efa6995ea91d0e.tar.xz
linux-dev-c51c4841f1571673d9075b8cf5efa6995ea91d0e.zip
scsi: ch: add include guard to chio.h
Add a header include guard just in case. Link: https://lore.kernel.org/r/20190728164643.16335-1-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--include/uapi/linux/chio.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/uapi/linux/chio.h b/include/uapi/linux/chio.h
index 689fc93fafda..e1cad4c319ee 100644
--- a/include/uapi/linux/chio.h
+++ b/include/uapi/linux/chio.h
@@ -3,6 +3,9 @@
* ioctl interface for the scsi media changer driver
*/
+#ifndef _UAPI_LINUX_CHIO_H
+#define _UAPI_LINUX_CHIO_H
+
/* changer element types */
#define CHET_MT 0 /* media transport element (robot) */
#define CHET_ST 1 /* storage element (media slots) */
@@ -160,10 +163,4 @@ struct changer_set_voltag {
#define CHIOSVOLTAG _IOW('c',18,struct changer_set_voltag)
#define CHIOGVPARAMS _IOR('c',19,struct changer_vendor_params)
-/* ---------------------------------------------------------------------- */
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
+#endif /* _UAPI_LINUX_CHIO_H */