Skip to content

Commit

Permalink
scsi: ch: add include guard to chio.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
masahir0y authored and martinkpetersen committed Oct 10, 2019
1 parent 8ae15a4 commit c51c484
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions include/uapi/linux/chio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down Expand Up @@ -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 */

0 comments on commit c51c484

Please sign in to comment.