aboutsummaryrefslogtreecommitdiffstats
path: root/applied/usb-gadget-fix-up-comment.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 14:45:58 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 14:45:58 -0700
commit6866d52ad99a8c2c5301c7371fce365d25b2d0be (patch)
treef39adaa4087fd91ed21e7fd81c09ace7b2d9228d /applied/usb-gadget-fix-up-comment.patch
parente275d064f56be8b9dec6fc2e33d6b075dcc2ac62 (diff)
downloadpatches-6866d52ad99a8c2c5301c7371fce365d25b2d0be.tar.gz
move applied patches to applied/ and add a pwm patch
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)