aboutsummaryrefslogtreecommitdiffstats
path: root/applied/usb-gadget-fix-up-comment.patch
diff options
Diffstat (limited to 'applied/usb-gadget-fix-up-comment.patch')
-rw-r--r--applied/usb-gadget-fix-up-comment.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/applied/usb-gadget-fix-up-comment.patch b/applied/usb-gadget-fix-up-comment.patch
new file mode 100644
index 00000000000000..c5d42c0e7362de
--- /dev/null
+++ b/applied/usb-gadget-fix-up-comment.patch
@@ -0,0 +1,27 @@
+From foo@baz Fri Jun 28 11:11:19 PDT 2013
+Date: Fri, 28 Jun 2013 11:11:19 -0700
+To: Greg KH <gregkh@linuxfoundation.org>
+Cc: Felipe Balbi <balbi@ti.com>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: USB: gadget: fix up comment
+
+This endif is for CONFIG_USB_GADGET_DEBUG_FILES, not CONFIG_USB_DEBUG,
+so document it properly.
+
+Cc: Felipe Balbi <balbi@ti.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/usb/gadget/storage_common.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/usb/gadget/storage_common.c
++++ b/drivers/usb/gadget/storage_common.c
+@@ -172,7 +172,7 @@ MODULE_PARM_DESC(num_buffers, "Number of
+ */
+ #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS
+
+-#endif /* CONFIG_USB_DEBUG */
++#endif /* CONFIG_USB_GADGET_DEBUG_FILES */
+
+ /* check if fsg_num_buffers is within a valid range */
+ static inline int fsg_num_buffers_validate(void)