aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorNeil Zhang <zhangwm@marvell.com>2011-10-12 04:49:25 -0400
committerFelipe Balbi <balbi@ti.com>2011-10-13 13:41:56 -0400
commit5d0b8d0f3af46c5364bc36f814cf2c407012dd1b (patch)
tree44bbb6e3e771004eefdeb2d5d3315b428fa87123 /drivers/usb
parentdde34cc5019b51088c18ca789d4b1a20cf9bc617 (diff)
usb: gadget: mv_udc: add section information
Tag the probe function as __devinit. Tag the remove function as __devexit. Signed-off-by: Neil Zhang <zhangwm@marvell.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/mv_udc_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
index 40a25e75cc6a..cd4de00a3ff5 100644
--- a/drivers/usb/gadget/mv_udc_core.c
+++ b/drivers/usb/gadget/mv_udc_core.c
@@ -1909,7 +1909,7 @@ static void gadget_release(struct device *_dev)
1909 complete(udc->done); 1909 complete(udc->done);
1910} 1910}
1911 1911
1912static int mv_udc_remove(struct platform_device *dev) 1912static int __devexit mv_udc_remove(struct platform_device *dev)
1913{ 1913{
1914 struct mv_udc *udc = the_controller; 1914 struct mv_udc *udc = the_controller;
1915 int clk_i; 1915 int clk_i;
@@ -1956,7 +1956,7 @@ static int mv_udc_remove(struct platform_device *dev)
1956 return 0; 1956 return 0;
1957} 1957}
1958 1958
1959int mv_udc_probe(struct platform_device *dev) 1959static int __devinit mv_udc_probe(struct platform_device *dev)
1960{ 1960{
1961 struct mv_usb_platform_data *pdata = dev->dev.platform_data; 1961 struct mv_usb_platform_data *pdata = dev->dev.platform_data;
1962 struct mv_udc *udc; 1962 struct mv_udc *udc;