[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fa686aa41003062319t33227670x1f0616cff887733b@mail.gmail.com>
Date: Sun, 7 Mar 2010 00:19:47 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-kernel@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
kay.sievers@...y.org, gregkh@...e.de
Subject: Re: [RFC] drivercore: Add of_match_table to the common device drivers
On Sun, Mar 7, 2010 at 12:07 AM, Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> Hi Grant,
>
> Just a quick note:
>
> On Sat, 06 Mar 2010 23:47:00 -0700 Grant Likely <grant.likely@...retlab.ca> wrote:
>>
>> diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c
>> index 67fe13f..a5806ab 100644
>> --- a/drivers/macintosh/macio_asic.c
>> +++ b/drivers/macintosh/macio_asic.c
>> @@ -40,8 +40,7 @@ static struct macio_chip *macio_on_hold;
>> static int macio_bus_match(struct device *dev, struct device_driver *drv)
>> {
>> struct macio_dev * macio_dev = to_macio_device(dev);
>> - struct macio_driver * macio_drv = to_macio_driver(drv);
>> - const struct of_device_id * matches = macio_drv->match_table;
>> + const struct of_device_id * matches = drv->match_table;
> ^^^^^^^^^^^
> of_match_table
Heh. Oops. I fixed that in my local directory when compile testing,
but neglected to refresh the patch.
Thanks,
g.
--
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