public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Fix up some pm_message_t types
@ 2005-09-15 15:19 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2005-09-15 15:19 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML

Fix up some pm_message_t types

Signed-Off-By: Richard Purdie <rpurdie@rpsys.net>

Index: git/drivers/video/imxfb.c
===================================================================
--- git.orig/drivers/video/imxfb.c	2005-09-14 10:08:28.000000000 +0100
+++ git/drivers/video/imxfb.c	2005-09-15 16:07:14.000000000 +0100
@@ -425,7 +425,7 @@
  * Power management hooks.  Note that we won't be called from IRQ context,
  * unlike the blank functions above, so we may sleep.
  */
-static int imxfb_suspend(struct device *dev, u32 state, u32 level)
+static int imxfb_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	struct imxfb_info *fbi = dev_get_drvdata(dev);
 	pr_debug("%s\n",__FUNCTION__);
Index: git/arch/ppc/syslib/open_pic2.c
===================================================================
--- git.orig/arch/ppc/syslib/open_pic2.c	2005-09-14 10:08:21.000000000 +0100
+++ git/arch/ppc/syslib/open_pic2.c	2005-09-15 16:03:23.000000000 +0100
@@ -575,7 +575,7 @@
  * we need something better to deal with that... Maybe switch to S1 for
  * cpufreq changes
  */
-int openpic2_suspend(struct sys_device *sysdev, u32 state)
+int openpic2_suspend(struct sys_device *sysdev, pm_message_t state)
 {
 	int	i;
 	unsigned long flags;
Index: git/sound/arm/aaci.c
===================================================================
--- git.orig/sound/arm/aaci.c	2005-09-14 10:08:32.000000000 +0100
+++ git/sound/arm/aaci.c	2005-09-15 16:08:24.000000000 +0100
@@ -650,7 +650,7 @@
 	return 0;
 }
 
-static int aaci_suspend(struct amba_device *dev, u32 state)
+static int aaci_suspend(struct amba_device *dev, pm_message_t state)
 {
 	snd_card_t *card = amba_get_drvdata(dev);
 	return card ? aaci_do_suspend(card) : 0;
Index: git/arch/arm/common/locomo.c
===================================================================
--- git.orig/arch/arm/common/locomo.c	2005-09-14 10:08:18.000000000 +0100
+++ git/arch/arm/common/locomo.c	2005-09-15 16:02:38.000000000 +0100
@@ -551,7 +551,7 @@
 	u16	LCM_SPIMD;
 };
 
-static int locomo_suspend(struct device *dev, u32 pm_message_t, u32 level)
+static int locomo_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	struct locomo *lchip = dev_get_drvdata(dev);
 	struct locomo_save_data *save;
Index: git/drivers/serial/mpc52xx_uart.c
===================================================================
--- git.orig/drivers/serial/mpc52xx_uart.c	2005-09-14 10:08:27.000000000 +0100
+++ git/drivers/serial/mpc52xx_uart.c	2005-09-15 16:06:19.000000000 +0100
@@ -781,7 +781,7 @@
 
 #ifdef CONFIG_PM
 static int
-mpc52xx_uart_suspend(struct device *dev, u32 state, u32 level)
+mpc52xx_uart_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	struct uart_port *port = (struct uart_port *) dev_get_drvdata(dev);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-15 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 15:19 [patch] Fix up some pm_message_t types Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox