mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Andrew Morton <akpm@zip.com.au>,
	kernel list <linux-kernel@vger.kernel.org>
Subject: fix u32 vs. pm_message_t in pcmcia
Date: Sat, 2 Apr 2005 23:19:15 +0200	[thread overview]
Message-ID: <20050402211915.GA2102@elf.ucw.cz> (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,

Signed-off-by: Pavel Machek <pavel@suse.cz>
                                                        Pavel

--- clean-cvs/drivers/pcmcia/au1000_generic.c	2005-03-31 23:34:03.000000000 +0200
+++ linux-cvs/drivers/pcmcia/au1000_generic.c	2005-03-31 23:54:46.000000000 +0200
@@ -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)
--- clean-cvs/drivers/pcmcia/hd64465_ss.c	2005-03-31 23:34:04.000000000 +0200
+++ linux-cvs/drivers/pcmcia/hd64465_ss.c	2005-03-31 23:54:46.000000000 +0200
@@ -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)
--- clean-cvs/drivers/pcmcia/m32r_cfc.c	2005-03-31 23:34:04.000000000 +0200
+++ linux-cvs/drivers/pcmcia/m32r_cfc.c	2005-03-31 23:54:46.000000000 +0200
@@ -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)
--- clean-cvs/drivers/pcmcia/m32r_pcc.c	2005-03-31 23:34:04.000000000 +0200
+++ linux-cvs/drivers/pcmcia/m32r_pcc.c	2005-03-31 23:54:46.000000000 +0200
@@ -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)
--- clean-cvs/drivers/pcmcia/pxa2xx_base.c	2004-12-25 16:29:34.000000000 +0100
+++ linux-cvs/drivers/pcmcia/pxa2xx_base.c	2005-03-31 23:54:46.000000000 +0200
@@ -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)
--- clean-cvs/drivers/pcmcia/sa1100_generic.c	2004-11-19 12:20:08.000000000 +0100
+++ linux-cvs/drivers/pcmcia/sa1100_generic.c	2005-03-31 23:54:46.000000000 +0200
@@ -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)
--- clean-cvs/drivers/pcmcia/sa1111_generic.c	2004-11-19 12:20:08.000000000 +0100
+++ linux-cvs/drivers/pcmcia/sa1111_generic.c	2005-03-31 23:54:46.000000000 +0200
@@ -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);
 }
--- clean-cvs/drivers/pcmcia/vrc4171_card.c	2005-03-31 23:34:04.000000000 +0200
+++ linux-cvs/drivers/pcmcia/vrc4171_card.c	2005-03-31 23:54:47.000000000 +0200
@@ -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;
 

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

                 reply	other threads:[~2005-04-02 21:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050402211915.GA2102@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®