aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/sl811.h
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-03-07 13:45:32 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-24 21:16:42 -0700
commitdda43a0e03a33dd716fb34f812b1af614f74daff (patch)
tree883769ddf738b9f888cc4411dfa11cf26e8f605b /include/linux/usb/sl811.h
parentUSB: usb.h: reduce syslog clutter [v3] (diff)
downloadlinux-dev-dda43a0e03a33dd716fb34f812b1af614f74daff.tar.xz
linux-dev-dda43a0e03a33dd716fb34f812b1af614f74daff.zip
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/sl811.h')
-rw-r--r--include/linux/usb/sl811.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/usb/sl811.h b/include/linux/usb/sl811.h
index 877373da410d..3afe4d16fcef 100644
--- a/include/linux/usb/sl811.h
+++ b/include/linux/usb/sl811.h
@@ -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 */