[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTinNyf4TYpz0iSe2ArYk6X_AMVu1nKTuWFsHxaik@mail.gmail.com>
Date: Mon, 16 Aug 2010 15:19:40 -0600
From: Grant Likely <grant.likely@...retlab.ca>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Linus <torvalds@...ux-foundation.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] spi: update for of_device to platform_device replacement
On Sun, Aug 15, 2010 at 11:22 PM, Grant Likely
<grant.likely@...retlab.ca> wrote:
>
>
> "Stephen Rothwell" <sfr@...b.auug.org.au> wrote:
>
>>
>>Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
>
>>This patch now is needed in Linus' tree. I will add it to my fixes tree
>>for today. Linus, can you take this, please?
Linus, I'm collecting a number of OF-related fixup patches anyway, so
I'll pick this up into my tree, make sure I haven't broken anything,
and send you a pull req this afternoon.
Cheers,
g.
>>
>>diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
>>index ea24c1e..2673a3d 100644
>>--- a/drivers/ata/sata_dwc_460ex.c
>>+++ b/drivers/ata/sata_dwc_460ex.c
>>@@ -1588,7 +1588,7 @@ static const struct ata_port_info sata_dwc_port_info[] = {
>> },
>> };
>>
>>-static int sata_dwc_probe(struct of_device *ofdev,
>>+static int sata_dwc_probe(struct platform_device *ofdev,
>> const struct of_device_id *match)
>> {
>> struct sata_dwc_device *hsdev;
>>@@ -1702,7 +1702,7 @@ error_out:
>> return err;
>> }
>>
>>-static int sata_dwc_remove(struct of_device *ofdev)
>>+static int sata_dwc_remove(struct platform_device *ofdev)
>> {
>> struct device *dev = &ofdev->dev;
>> struct ata_host *host = dev_get_drvdata(dev);
>>--
>>1.7.1
>>
>>--
>>Cheers,
>>Stephen Rothwell sfr@...b.auug.org.au
>>http://www.canb.auug.org.au/~sfr/
>
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists