diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-28 11:27:39 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-30 14:34:34 -0400 |
| commit | 509ce4c85bd055ee1013bc853b5d543428b0f017 (patch) | |
| tree | 64a65de5e2051012e0f430bb4130bcfb641a0535 /include/uapi/linux/ppdev.h | |
| parent | ab81f3f386e2650b625c4dfe8ca092d30289c2a3 (diff) | |
ppdev: add header include guard
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Link: https://lore.kernel.org/r/20190728152739.9249-1-yamada.masahiro@socionext.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/ppdev.h')
| -rw-r--r-- | include/uapi/linux/ppdev.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/ppdev.h b/include/uapi/linux/ppdev.h index 8fe3c64d149e..eb895b83f2bd 100644 --- a/include/uapi/linux/ppdev.h +++ b/include/uapi/linux/ppdev.h | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | * Added PPGETMODES/PPGETMODE/PPGETPHASE, Fred Barnes <frmb2@ukc.ac.uk>, 03/01/2001 | 15 | * Added PPGETMODES/PPGETMODE/PPGETPHASE, Fred Barnes <frmb2@ukc.ac.uk>, 03/01/2001 |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef _UAPI_LINUX_PPDEV_H | ||
| 19 | #define _UAPI_LINUX_PPDEV_H | ||
| 20 | |||
| 18 | #define PP_IOCTL 'p' | 21 | #define PP_IOCTL 'p' |
| 19 | 22 | ||
| 20 | /* Set mode for read/write (e.g. IEEE1284_MODE_EPP) */ | 23 | /* Set mode for read/write (e.g. IEEE1284_MODE_EPP) */ |
| @@ -97,4 +100,4 @@ struct ppdev_frob_struct { | |||
| 97 | /* only masks user-visible flags */ | 100 | /* only masks user-visible flags */ |
| 98 | #define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC) | 101 | #define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC) |
| 99 | 102 | ||
| 100 | 103 | #endif /* _UAPI_LINUX_PPDEV_H */ | |
