DORMANTno replies

[PATCH] ppc32: fix ocp_device_suspend to use pm_message_t instead of u32

From: Eugene Surovegin <hidden>
Date: 2005-09-05 16:37:49
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
diff --git a/arch/ppc/syslib/ocp.c b/arch/ppc/syslib/ocp.c
--- a/arch/ppc/syslib/ocp.c
+++ b/arch/ppc/syslib/ocp.c
@@ -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);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help