diff options
| author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-07 13:45:32 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 00:16:42 -0400 |
| commit | dda43a0e03a33dd716fb34f812b1af614f74daff (patch) | |
| tree | 883769ddf738b9f888cc4411dfa11cf26e8f605b /include/linux/usb/gadgetfs.h | |
| parent | f66396b55d4016bdc7a5298db7a681c63b649bf4 (diff) | |
USB: Standardize inclusion protection and add where missing.
For the header files in include/linux/usb, add missing multiple
inclusion protection and standardize what's already there. The
apparent standards:
* macro name of __LINUX_USB_headerfile_H
* inclusion protection placed after leading comment block
* macro name added as a comment on the final #endif
* any obvious trivial whitespace cleanup associated with the above
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb/gadgetfs.h')
| -rw-r--r-- | include/linux/usb/gadgetfs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/usb/gadgetfs.h b/include/linux/usb/gadgetfs.h index c291ab1af747..ea45f265ec05 100644 --- a/include/linux/usb/gadgetfs.h +++ b/include/linux/usb/gadgetfs.h | |||
| @@ -1,11 +1,3 @@ | |||
| 1 | #ifndef __LINUX_USB_GADGETFS_H | ||
| 2 | #define __LINUX_USB_GADGETFS_H | ||
| 3 | |||
| 4 | #include <asm/types.h> | ||
| 5 | #include <asm/ioctl.h> | ||
| 6 | |||
| 7 | #include <linux/usb/ch9.h> | ||
| 8 | |||
| 9 | /* | 1 | /* |
| 10 | * Filesystem based user-mode API to USB Gadget controller hardware | 2 | * Filesystem based user-mode API to USB Gadget controller hardware |
| 11 | * | 3 | * |
| @@ -23,6 +15,14 @@ | |||
| 23 | * then performing data transfers by reading or writing. | 15 | * then performing data transfers by reading or writing. |
| 24 | */ | 16 | */ |
| 25 | 17 | ||
| 18 | #ifndef __LINUX_USB_GADGETFS_H | ||
| 19 | #define __LINUX_USB_GADGETFS_H | ||
| 20 | |||
| 21 | #include <asm/types.h> | ||
| 22 | #include <asm/ioctl.h> | ||
| 23 | |||
| 24 | #include <linux/usb/ch9.h> | ||
| 25 | |||
| 26 | /* | 26 | /* |
| 27 | * Events are delivered on the ep0 file descriptor, when the user mode driver | 27 | * Events are delivered on the ep0 file descriptor, when the user mode driver |
| 28 | * reads from this file descriptor after writing the descriptors. Don't | 28 | * reads from this file descriptor after writing the descriptors. Don't |
