Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253301
b: refs/heads/master
c: cb42447
h: refs/heads/master
i:
  253299: b5d3d63
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Greg Kroah-Hartman committed Jun 6, 2011
1 parent 795257a commit bf789f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b38b03b363a53067e8b8f3f43f00b6428bd5319c
refs/heads/master: cb42447374eb4348b75ec677bf9c77958c7d10e0
8 changes: 4 additions & 4 deletions trunk/drivers/usb/gadget/mv_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,7 @@ int mv_udc_probe(struct platform_device *dev)
}

#ifdef CONFIG_PM
static int mv_udc_suspend(struct platform_device *_dev, pm_message_t state)
static int mv_udc_suspend(struct device *_dev)
{
struct mv_udc *udc = the_controller;

Expand All @@ -2092,15 +2092,15 @@ static int mv_udc_suspend(struct platform_device *_dev, pm_message_t state)
return 0;
}

static int mv_udc_resume(struct platform_device *_dev)
static int mv_udc_resume(struct device *_dev)
{
struct mv_udc *udc = the_controller;
int retval;

retval = mv_udc_phy_init(udc->phy_regs);
if (retval) {
dev_err(_dev, "phy initialization error %d\n", retval);
goto error;
return retval;
}
udc_reset(udc);
ep0_reset(udc);
Expand All @@ -2122,7 +2122,7 @@ static struct platform_driver udc_driver = {
.owner = THIS_MODULE,
.name = "pxa-u2o",
#ifdef CONFIG_PM
.pm = mv_udc_pm_ops,
.pm = &mv_udc_pm_ops,
#endif
},
};
Expand Down

0 comments on commit bf789f6

Please sign in to comment.