Skip to content

Commit

Permalink
usb: gadget: mv_udc: add section information
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Neil Zhang authored and Felipe Balbi committed Oct 13, 2011
1 parent dde34cc commit 5d0b8d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/gadget/mv_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5d0b8d0

Please sign in to comment.