aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/of_device.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-04-16 18:25:34 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:25:34 -0400
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')
-rw-r--r--include/asm-ppc/of_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/of_device.h b/include/asm-ppc/of_device.h
index 14441c629010..7229735a7c18 100644
--- a/include/asm-ppc/of_device.h
+++ b/include/asm-ppc/of_device.h
@@ -55,7 +55,7 @@ struct of_platform_driver
55 int (*probe)(struct of_device* dev, const struct of_match *match); 55 int (*probe)(struct of_device* dev, const struct of_match *match);
56 int (*remove)(struct of_device* dev); 56 int (*remove)(struct of_device* dev);
57 57
58 int (*suspend)(struct of_device* dev, u32 state); 58 int (*suspend)(struct of_device* dev, pm_message_t state);
59 int (*resume)(struct of_device* dev); 59 int (*resume)(struct of_device* dev);
60 int (*shutdown)(struct of_device* dev); 60 int (*shutdown)(struct of_device* dev);
61 61