Skip to content

Commit c51c484

Browse files
masahir0ymartinkpetersen
authored andcommitted
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>
1 parent 8ae15a4 commit c51c484

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

‎include/uapi/linux/chio.h‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* ioctl interface for the scsi media changer driver
44
*/
55

6+
#ifndef _UAPI_LINUX_CHIO_H
7+
#define _UAPI_LINUX_CHIO_H
8+
69
/* changer element types */
710
#define CHET_MT 0 /* media transport element (robot) */
811
#define CHET_ST 1 /* storage element (media slots) */
@@ -160,10 +163,4 @@ struct changer_set_voltag {
160163
#define CHIOSVOLTAG _IOW('c',18,struct changer_set_voltag)
161164
#define CHIOGVPARAMS _IOR('c',19,struct changer_vendor_params)
162165

163-
/* ---------------------------------------------------------------------- */
164-
165-
/*
166-
* Local variables:
167-
* c-basic-offset: 8
168-
* End:
169-
*/
166+
#endif /* _UAPI_LINUX_CHIO_H */

0 commit comments

Comments
 (0)