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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
f66396b55d
commit
dda43a0e03
@@ -1,6 +1,3 @@
|
||||
#ifndef __USB_INPUT_H
|
||||
#define __USB_INPUT_H
|
||||
|
||||
/*
|
||||
* Copyright (C) 2005 Dmitry Torokhov
|
||||
*
|
||||
@@ -9,6 +6,9 @@
|
||||
* the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_USB_INPUT_H
|
||||
#define __LINUX_USB_INPUT_H
|
||||
|
||||
#include <linux/usb.h>
|
||||
#include <linux/input.h>
|
||||
#include <asm/byteorder.h>
|
||||
@@ -22,4 +22,4 @@ usb_to_input_id(const struct usb_device *dev, struct input_id *id)
|
||||
id->version = le16_to_cpu(dev->descriptor.bcdDevice);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* __LINUX_USB_INPUT_H */
|
||||
|
Reference in New Issue
Block a user