diff options
author | Neil Zhang <zhangwm@marvell.com> | 2011-10-12 16:49:25 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 20:41:56 +0300 |
commit | 5d0b8d0f3af46c5364bc36f814cf2c407012dd1b (patch) | |
tree | 44bbb6e3e771004eefdeb2d5d3315b428fa87123 /drivers/usb | |
parent | dde34cc5019b51088c18ca789d4b1a20cf9bc617 (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.c | 4 |
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) complete(udc->done); } -static int mv_udc_remove(struct platform_device *dev) +static int __devexit mv_udc_remove(struct platform_device *dev) { struct mv_udc *udc = the_controller; int clk_i; @@ -1956,7 +1956,7 @@ static int mv_udc_remove(struct platform_device *dev) return 0; } -int mv_udc_probe(struct platform_device *dev) +static int __devinit mv_udc_probe(struct platform_device *dev) { struct mv_usb_platform_data *pdata = dev->dev.platform_data; struct mv_udc *udc; |