From b1c42851b006398dda77a068275e8741e33761f1 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Sat, 16 Apr 2005 15:25:34 -0700 Subject: [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 Signed-off-by: Linus Torvalds --- include/asm-ppc/ocp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asm-ppc/ocp.h') diff --git a/include/asm-ppc/ocp.h b/include/asm-ppc/ocp.h index 5ea44cabfaa4..b98db3cdae83 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; }; -- cgit v1.2.2