mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
f66396b55d
commit
dda43a0e03
17 changed files with 57 additions and 40 deletions
|
@ -1,9 +1,11 @@
|
|||
|
||||
/*
|
||||
* board initialization should put one of these into dev->platform_data
|
||||
* and place the sl811hs onto platform_bus named "sl811-hcd".
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_USB_SL811_H
|
||||
#define __LINUX_USB_SL811_H
|
||||
|
||||
struct sl811_platform_data {
|
||||
unsigned can_wakeup:1;
|
||||
|
||||
|
@ -24,3 +26,4 @@ struct sl811_platform_data {
|
|||
/* void (*clock_enable)(struct device *dev, int is_on); */
|
||||
};
|
||||
|
||||
#endif /* __LINUX_USB_SL811_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue