summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/gmidi.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <m.nazarewicz@samsung.com>2010-08-12 17:43:52 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:21:24 -0700
commite12995ec8f8d99f2a339541fc28998af2d60af0f (patch)
tree3fea8a62234b906b115f0f0b85f481dc69f1108c /drivers/usb/gadget/gmidi.c
parenta99d8a45bc2f495be45b8d417b795d7282a69091 (diff)
downloadop-kernel-dev-e12995ec8f8d99f2a339541fc28998af2d60af0f.zip
op-kernel-dev-e12995ec8f8d99f2a339541fc28998af2d60af0f.tar.gz
USB: Revert "USB: gadget: section mismatch warning fixed"
This reverts a commit which proposed an invalid solution for a section mismatch. Next 3 commits will fix it correctly. Conflicts: drivers/usb/gadget/mass_storage.c Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/gmidi.c')
-rw-r--r--drivers/usb/gadget/gmidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/gmidi.c b/drivers/usb/gadget/gmidi.c
index 1b413a5c..b7bf880 100644
--- a/drivers/usb/gadget/gmidi.c
+++ b/drivers/usb/gadget/gmidi.c
@@ -1157,7 +1157,7 @@ fail:
/*
* Creates an output endpoint, and initializes output ports.
*/
-static int __ref gmidi_bind(struct usb_gadget *gadget)
+static int __init gmidi_bind(struct usb_gadget *gadget)
{
struct gmidi_device *dev;
struct usb_ep *in_ep, *out_ep;
OpenPOWER on IntegriCloud