summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2010-07-02 12:46:34 -0700
committerColin Cross <ccross@android.com>2010-09-29 17:49:40 -0700
commit53847ce6d7d82654d68005a13114ca0ade2be569 (patch)
tree88c1ef851efeb784efa1b2e12034f30f6c891b22
parent11d4919b98b5a460f65d75c296e72958359ba879 (diff)
drivers: usb: gadget: Fix section mismatch warning
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-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 c7a54787a044..e258f186c50b 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;