summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2010-07-02 12:46:34 -0700
committerColin Cross <ccross@android.com>2011-06-14 09:09:08 -0700
commit577e37a65b7ee7aa7ade4b8a323fc327ff45e88e (patch)
tree35e3b32ff4a9d87f6dd1145745789c2be4fb2b04 /drivers/usb/gadget
parent28acc1a88c75b08b2ab502a546da61b131b86f5c (diff)
drivers: usb: gadget: Fix section mismatch warning
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/android.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c
index c7a54787a04..e258f186c50 100644
--- a/drivers/usb/gadget/android.c
+++ b/drivers/usb/gadget/android.c
@@ -136,7 +136,7 @@ static void bind_functions(struct android_dev *dev)
}
}
-static int __init android_bind_config(struct usb_configuration *c)
+static int android_bind_config(struct usb_configuration *c)
{
struct android_dev *dev = _android_dev;
@@ -220,7 +220,7 @@ static int get_product_id(struct android_dev *dev)
return dev->product_id;
}
-static int __init android_bind(struct usb_composite_dev *cdev)
+static int android_bind(struct usb_composite_dev *cdev)
{
struct android_dev *dev = _android_dev;
struct usb_gadget *gadget = cdev->gadget;
@@ -352,7 +352,7 @@ void android_enable_function(struct usb_function *f, int enable)
}
}
-static int __init android_probe(struct platform_device *pdev)
+static int android_probe(struct platform_device *pdev)
{
struct android_usb_platform_data *pdata = pdev->dev.platform_data;
struct android_dev *dev = _android_dev;