From: Jeff Garzik <jgarzik@pobox.com>
To: Daniel Drake <dsd@gentoo.org>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, linux-pm@osdl.org
Subject: Re: [-mm PATCH] driver model: PM type conversions in drivers/net
Date: Fri, 04 Feb 2005 20:01:17 -0500 [thread overview]
Message-ID: <42041ADD.8050606@pobox.com> (raw)
In-Reply-To: <4203F3D5.9060605@gentoo.org>
Daniel Drake wrote:
> diff -urNpX dontdiff linux-2.6.11-rc2-mm2/drivers/net/bmac.c linux-dsd/drivers/net/bmac.c
> --- linux-2.6.11-rc2-mm2/drivers/net/bmac.c 2005-02-02 21:54:17.353663112 +0000
> +++ linux-dsd/drivers/net/bmac.c 2005-02-02 20:52:48.000000000 +0000
> @@ -455,7 +455,7 @@ static void bmac_init_chip(struct net_de
> }
>
> #ifdef CONFIG_PM
> -static int bmac_suspend(struct macio_dev *mdev, u32 state)
> +static int bmac_suspend(struct macio_dev *mdev, pm_message_t state)
> {
> struct net_device* dev = macio_get_drvdata(mdev);
> struct bmac_data *bp = netdev_priv(dev);
> diff -urNpX dontdiff linux-2.6.11-rc2-mm2/drivers/net/irda/sa1100_ir.c linux-dsd/drivers/net/irda/sa1100_ir.c
> --- linux-2.6.11-rc2-mm2/drivers/net/irda/sa1100_ir.c 2004-12-24 21:35:50.000000000 +0000
> +++ linux-dsd/drivers/net/irda/sa1100_ir.c 2005-02-02 20:59:28.000000000 +0000
> @@ -291,7 +291,7 @@ static void sa1100_irda_shutdown(struct
> /*
> * Suspend the IrDA interface.
> */
> -static int sa1100_irda_suspend(struct device *_dev, u32 state, u32 level)
> +static int sa1100_irda_suspend(struct device *_dev, pm_message_t state, u32 level)
Why does this one have three arguments?
Jeff
next prev parent reply other threads:[~2005-02-05 1:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-04 22:14 Daniel Drake
2005-02-05 1:01 ` Jeff Garzik [this message]
2005-02-05 8:58 ` Russell King
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=42041ADD.8050606@pobox.com \
--to=jgarzik@pobox.com \
--cc=akpm@osdl.org \
--cc=dsd@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@osdl.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
Powered by JetHome