summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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
parent7f4927c1b505eb4e679ab506bf7626af6258e6b6 (diff)
downloadlinux-3.10-b1c42851b006398dda77a068275e8741e33761f1.tar.gz
linux-3.10-b1c42851b006398dda77a068275e8741e33761f1.tar.bz2
linux-3.10-b1c42851b006398dda77a068275e8741e33761f1.zip
[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')
-rw-r--r--include/asm-ppc/macio.h2
-rw-r--r--include/asm-ppc/ocp.h2
-rw-r--r--include/asm-ppc/of_device.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-ppc/macio.h b/include/asm-ppc/macio.h
index 00605bb88b2..2cafc997860 100644
--- a/include/asm-ppc/macio.h
+++ b/include/asm-ppc/macio.h
@@ -126,7 +126,7 @@ struct macio_driver
int (*probe)(struct macio_dev* dev, const struct of_match *match);
int (*remove)(struct macio_dev* dev);
- int (*suspend)(struct macio_dev* dev, u32 state);
+ int (*suspend)(struct macio_dev* dev, pm_message_t state);
int (*resume)(struct macio_dev* dev);
int (*shutdown)(struct macio_dev* dev);
diff --git a/include/asm-ppc/ocp.h b/include/asm-ppc/ocp.h
index 5ea44cabfaa..b98db3cdae8 100644
--- a/include/asm-ppc/ocp.h
+++ b/include/asm-ppc/ocp.h
@@ -119,7 +119,7 @@ struct ocp_driver {
const struct ocp_device_id *id_table; /* NULL if wants all devices */
int (*probe) (struct ocp_device *dev); /* New device inserted */
void (*remove) (struct ocp_device *dev); /* Device removed (NULL if not a hot-plug capable driver) */
- int (*suspend) (struct ocp_device *dev, u32 state); /* Device suspended */
+ int (*suspend) (struct ocp_device *dev, pm_message_t state); /* Device suspended */
int (*resume) (struct ocp_device *dev); /* Device woken up */
struct device_driver driver;
};
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);