Skip to content

Commit

Permalink
[PATCH] ppc32: fix ocp_device_suspend to use pm_message_t instead of u32
Browse files Browse the repository at this point in the history
Recent "u32 -> pm_message_t" change triggered hidden bug in
ocp_device_suspend.  Fix it to correctly use pm_message_t instead of u32.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Eugene Surovegin authored and Linus Torvalds committed Sep 7, 2005
1 parent 4706df3 commit 842363f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ppc/syslib/ocp.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ocp_device_remove(struct device *dev)
}

static int
ocp_device_suspend(struct device *dev, u32 state)
ocp_device_suspend(struct device *dev, pm_message_t state)
{
struct ocp_device *ocp_dev = to_ocp_dev(dev);
struct ocp_driver *ocp_drv = to_ocp_drv(dev->driver);
Expand Down

0 comments on commit 842363f

Please sign in to comment.