Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161350
b: refs/heads/master
c: c90cd33
h: refs/heads/master
v: v3
  • Loading branch information
Frans Pop authored and Rafael J. Wysocki committed Sep 14, 2009
1 parent 4da49a0 commit dd8e899
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 8de0307326be94148436082a9abf365da8e3c66d
refs/heads/master: c90cd332d3dbf9fc78934b8bda271c1f909216ea
9 changes: 7 additions & 2 deletions trunk/drivers/block/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -4151,7 +4151,7 @@ static void floppy_device_release(struct device *dev)
{
}

static int floppy_resume(struct platform_device *dev)
static int floppy_resume(struct device *dev)
{
int fdc;

Expand All @@ -4162,10 +4162,15 @@ static int floppy_resume(struct platform_device *dev)
return 0;
}

static struct platform_driver floppy_driver = {
static struct dev_pm_ops floppy_pm_ops = {
.resume = floppy_resume,
.restore = floppy_resume,
};

static struct platform_driver floppy_driver = {
.driver = {
.name = "floppy",
.pm = &floppy_pm_ops,
},
};

Expand Down

0 comments on commit dd8e899

Please sign in to comment.