mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-kernel@vger.kernel.org,
	devicetree-discuss@lists.ozlabs.org, kay.sievers@vrfy.org,
	gregkh@suse.de
Subject: Re: [RFC] drivercore: Add of_match_table to the common device drivers
Date: Sun, 7 Mar 2010 18:07:44 +1100	[thread overview]
Message-ID: <20100307180744.956998c5.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20100307064111.1442.63478.stgit@angua>

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

Hi Grant,

Just a quick note:

On Sat, 06 Mar 2010 23:47:00 -0700 Grant Likely <grant.likely@secretlab.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

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-03-07  7:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-07  6:47 Grant Likely
2010-03-07  7:07 ` Stephen Rothwell [this message]
2010-03-07  7:19   ` Grant Likely
2010-03-07 18:05 ` Greg KH
2010-03-07 20:33   ` Grant Likely

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=20100307180744.956998c5.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=gregkh@suse.de \
    --cc=kay.sievers@vrfy.org \
    --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®