summaryrefslogtreecommitdiff
path: root/include/uapi/linux/usb/functionfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/usb/functionfs.h')
-rw-r--r--include/uapi/linux/usb/functionfs.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h
index d6b01283f85c..532d484ffd9f 100644
--- a/include/uapi/linux/usb/functionfs.h
+++ b/include/uapi/linux/usb/functionfs.h
@@ -1,5 +1,5 @@
-#ifndef _UAPI__LINUX_FUNCTIONFS_H__
-#define _UAPI__LINUX_FUNCTIONFS_H__
+#ifndef __LINUX_FUNCTIONFS_H__
+#define __LINUX_FUNCTIONFS_H__
#include <linux/types.h>
@@ -14,7 +14,6 @@ enum {
};
-#ifndef __KERNEL__
/* Descriptor of an non-audio endpoint */
struct usb_endpoint_descriptor_no_audio {
@@ -91,7 +90,6 @@ struct usb_functionfs_strings_head {
* UTF-8.
*/
-#endif
/*
@@ -166,4 +164,4 @@ struct usb_functionfs_event {
-#endif /* _UAPI__LINUX_FUNCTIONFS_H__ */
+#endif /* __LINUX_FUNCTIONFS_H__ */