path: root/include/asm-ppc/of_device.h
diff options
authorPavel Machek <pavel@ucw.cz>2005-04-16 15:25:34 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:25:34 -0700
commitb1c42851b006398dda77a068275e8741e33761f1 (patch)
tree4ef18893a0f5618484a721a3851eeeb68a222eba /include/asm-ppc/of_device.h
parent7f4927c1b505eb4e679ab506bf7626af6258e6b6 (diff)
[PATCH] u32 vs. pm_message_t in ppc and radeon
This fixes pm_message_t vs. u32 confusion in ppc and aty (I *hope* that's basically radeon code...). I was not able to test most of these, but I'm not really changing anything, so it should be okay. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc/of_device.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/of_device.h b/include/asm-ppc/of_device.h
index 14441c62901..7229735a7c1 100644
--- a/include/asm-ppc/of_device.h
+++ b/include/asm-ppc/of_device.h
@@ -55,7 +55,7 @@ struct of_platform_driver
int (*probe)(struct of_device* dev, const struct of_match *match);
int (*remove)(struct of_device* dev);
- int (*suspend)(struct of_device* dev, u32 state);
+ int (*suspend)(struct of_device* dev, pm_message_t state);
int (*resume)(struct of_device* dev);
int (*shutdown)(struct of_device* dev);