summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2011-12-19 19:39:52 +0100
committerFelipe Balbi <balbi@ti.com>2011-12-21 13:24:37 +0200
commita1977562718f62c26cff79317b63885394255a03 (patch)
tree0044a76386edcab5f77cabc7c56be9d91ec2b3b7 /drivers/usb/gadget
parent715a3e41e78a40e1e711298667435d5a2cef1972 (diff)
downloadop-kernel-dev-a1977562718f62c26cff79317b63885394255a03.zip
op-kernel-dev-a1977562718f62c26cff79317b63885394255a03.tar.gz
usb: gadget: s3c-hsudc: add __devinit to probe function
Fixes possible section mismatch warnings. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/s3c-hsudc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c
index 2f9f840..fdf7774 100644
--- a/drivers/usb/gadget/s3c-hsudc.c
+++ b/drivers/usb/gadget/s3c-hsudc.c
@@ -1260,7 +1260,7 @@ static struct usb_gadget_ops s3c_hsudc_gadget_ops = {
.vbus_draw = s3c_hsudc_vbus_draw,
};
-static int s3c_hsudc_probe(struct platform_device *pdev)
+static int __devinit s3c_hsudc_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct resource *res;
OpenPOWER on IntegriCloud