Skip to contentSkip to conversation

Fix up some pm_message_t types

PATCH New Richard Purdie 1 participant 1 message Sep 15, 2005

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix up some pm_message_t types

Fix up some pm_message_t types

drivers/video/imxfb.c +1 -1
Index: git/drivers/video/imxfb.c
===================================================================
@@ -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__);
arch/ppc/syslib/open_pic2.c +1 -1
Index: git/arch/ppc/syslib/open_pic2.c
===================================================================
@@ -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;
sound/arm/aaci.c +1 -1
Index: git/sound/arm/aaci.c
===================================================================
@@ -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;
arch/arm/common/locomo.c +1 -1
Index: git/arch/arm/common/locomo.c
===================================================================
@@ -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;
drivers/serial/mpc52xx_uart.c +1 -1
Index: git/drivers/serial/mpc52xx_uart.c
===================================================================
@@ -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);