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 12:24:37 +0100
commita1977562718f62c26cff79317b63885394255a03 (patch)
tree0044a76386edcab5f77cabc7c56be9d91ec2b3b7 /drivers/usb/gadget
parentusb: gadget: s3c-hsudc: move platform_data struct to global header (diff)
downloadlinux-a1977562718f62c26cff79317b63885394255a03.tar.xz
linux-a1977562718f62c26cff79317b63885394255a03.zip
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 2f9f8409031b..fdf7774eacb0 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;