USB: gadget: f_accessory: change prototype of create_bluk_endpoints
Rakesh Bodla [Thu, 2 Aug 2012 06:35:28 +0000 (11:35 +0530)]
Changing prototype of create_bluk_endpoints since
function can called during runtime.

Bug 1026235

Change-Id: I9a39abb4de4548f18e6c6482e56a9126fe4122a3
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/120277
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

drivers/usb/gadget/f_accessory.c

index ae65faa..58c653f 100644 (file)
@@ -296,7 +296,7 @@ static void acc_complete_set_string(struct usb_ep *ep, struct usb_request *req)
        }
 }
 
-static int __init create_bulk_endpoints(struct acc_dev *dev,
+static int create_bulk_endpoints(struct acc_dev *dev,
                                struct usb_endpoint_descriptor *in_desc,
                                struct usb_endpoint_descriptor *out_desc)
 {