mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
[PATCH] ppc32: fix ocp_device_suspend to use pm_message_t instead of u32
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>
This commit is contained in:
parent
4706df3d3c
commit
842363ff5f
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ ocp_device_remove(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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_device *ocp_dev = to_ocp_dev(dev);
|
||||||
struct ocp_driver *ocp_drv = to_ocp_drv(dev->driver);
|
struct ocp_driver *ocp_drv = to_ocp_drv(dev->driver);
|
||||||
|
|
Loading…
Reference in a new issue