Skip to contentSkip to conversation

fix u32 vs. pm_message_t in pcmcia

PATCH Pavel Machek 1 participant 1 message Apr 2, 2005

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

Hi!

This fixes u32 vs. pm_message_t in pcmcia. [These patches are independend and change no object code; therefore not numbered]. Please apply,

Pavel

drivers/pcmcia/au1000_generic.c +1 -1
@@ -518,7 +518,7 @@
 }
 
 
-static int au1x00_drv_pcmcia_suspend(struct device *dev, u32 state, u32 level)
+static int au1x00_drv_pcmcia_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	int ret = 0;
 	if (level == SUSPEND_SAVE_STATE)
drivers/pcmcia/hd64465_ss.c +1 -1
@@ -845,7 +845,7 @@
 	local_irq_restore(flags);
 }
 
-static int hd64465_suspend(struct device *dev, u32 state, u32 level)
+static int hd64465_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	int ret = 0;
 	if (level == SUSPEND_SAVE_STATE)
drivers/pcmcia/m32r_cfc.c +1 -1
@@ -743,7 +743,7 @@
 
 /*====================================================================*/
 
-static int m32r_pcc_suspend(struct device *dev, u32 state, u32 level)
+static int m32r_pcc_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	int ret = 0;
 	if (level == SUSPEND_SAVE_STATE)
drivers/pcmcia/m32r_pcc.c +1 -1
@@ -696,7 +696,7 @@
 
 /*====================================================================*/
 
-static int m32r_pcc_suspend(struct device *dev, u32 state, u32 level)
+static int m32r_pcc_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	int ret = 0;
 	if (level == SUSPEND_SAVE_STATE)
drivers/pcmcia/pxa2xx_base.c +1 -1
@@ -205,7 +205,7 @@
 }
 EXPORT_SYMBOL(pxa2xx_drv_pcmcia_probe);
 
-static int pxa2xx_drv_pcmcia_suspend(struct device *dev, u32 state, u32 level)
+static int pxa2xx_drv_pcmcia_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	int ret = 0;
 	if (level == SUSPEND_SAVE_STATE)
drivers/pcmcia/sa1100_generic.c +1 -1
@@ -75,7 +75,7 @@
 	return ret;
 }
 
-static int sa11x0_drv_pcmcia_suspend(struct device *dev, u32 state, u32 level)
+static int sa11x0_drv_pcmcia_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	int ret = 0;
 	if (level == SUSPEND_SAVE_STATE)
drivers/pcmcia/sa1111_generic.c +1 -1
@@ -158,7 +158,7 @@
 	return 0;
 }
 
-static int pcmcia_suspend(struct sa1111_dev *dev, u32 state)
+static int pcmcia_suspend(struct sa1111_dev *dev, pm_message_t state)
 {
 	return pcmcia_socket_dev_suspend(&dev->dev, state);
 }
drivers/pcmcia/vrc4171_card.c +1 -1
@@ -774,7 +774,7 @@
 
 __setup("vrc4171_card=", vrc4171_card_setup);
 
-static int vrc4171_card_suspend(struct device *dev, u32 state, u32 level)
+static int vrc4171_card_suspend(struct device *dev, pm_message_t state, u32 level)
 {
 	int retval = 0;
 
Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!