projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
715a3e4
)
usb: gadget: s3c-hsudc: add __devinit to probe function
author
Heiko Stübner
<heiko@sntech.de>
Mon, 19 Dec 2011 18:39:52 +0000
(19:39 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 21 Dec 2011 11:24:37 +0000
(13:24 +0200)
Fixes possible section mismatch warnings.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsudc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/s3c-hsudc.c
b/drivers/usb/gadget/s3c-hsudc.c
index 2f9f8409031bd3f5adeff859b49ad0d1591a039a..fdf7774eacb08d425c9747598192f1b875a0c4fd 100644
(file)
--- 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;