netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <timur.tabi@gmail.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: devicetree-discuss@lists.ozlabs.org, netdev@vger.kernel.org
Subject: Re: [alsa-devel] [PATCH 13/27] drivers/net/of: don't use deprecated field in of_platform_driver
Date: Fri, 26 Mar 2010 10:23:14 -0500	[thread overview]
Message-ID: <ed82fe3e1003260823q5a2ba774ifd3465b41b8f0a10@mail.gmail.com> (raw)
In-Reply-To: <20100311182259.13103.87535.stgit@angua>

I'm seeing this error with this patch applied, when building for an mpc8641_hpcn

  CC      drivers/net/gianfar.o
drivers/net/gianfar.c: In function 'gfar_of_init':
drivers/net/gianfar.c:606: error: 'struct platform_device' has no
member named 'node'
drivers/net/gianfar.c:644: error: 'struct platform_device' has no
member named 'node'
drivers/net/gianfar.c: In function 'gfar_probe':
drivers/net/gianfar.c:891: error: 'struct platform_device' has no
member named 'node'
make[2]: *** [drivers/net/gianfar.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2


On Thu, Mar 11, 2010 at 1:23 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> .name, .match_table and .owner are duplicated in both of_platform_driver
> and device_driver, so the of_platform_driver copies will be removed soon.
>
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
> ---
>
>  drivers/net/can/mscan/mpc5xxx_can.c           |    8 +++++---
>  drivers/net/can/sja1000/sja1000_of_platform.c |    8 +++++---
>  drivers/net/ehea/ehea_main.c                  |    7 +++++--
>  drivers/net/fs_enet/fs_enet-main.c            |    7 +++++--
>  drivers/net/fs_enet/mii-bitbang.c             |    7 +++++--
>  drivers/net/fs_enet/mii-fec.c                 |    7 +++++--
>  drivers/net/fsl_pq_mdio.c                     |    7 +++++--
>  drivers/net/gianfar.c                         |   10 ++++++----
>  drivers/net/ibm_newemac/core.c                |    8 +++++---
>  drivers/net/ibm_newemac/mal.c                 |    8 +++++---
>  drivers/net/ibm_newemac/rgmii.c               |    8 +++++---
>  drivers/net/ibm_newemac/tah.c                 |    8 +++++---
>  drivers/net/ibm_newemac/zmii.c                |    8 +++++---
>  drivers/net/ll_temac_main.c                   |    2 +-
>  drivers/net/myri_sbus.c                       |    7 +++++--
>  drivers/net/niu.c                             |    7 +++++--
>  drivers/net/phy/mdio-gpio.c                   |    7 +++++--
>  drivers/net/sunbmac.c                         |    7 +++++--
>  drivers/net/sunhme.c                          |    7 +++++--
>  drivers/net/sunlance.c                        |    7 +++++--
>  drivers/net/sunqe.c                           |    7 +++++--
>  drivers/net/ucc_geth.c                        |    7 +++++--
>  drivers/net/xilinx_emaclite.c                 |    7 +++++--
>  23 files changed, 112 insertions(+), 54 deletions(-)

-- 
Timur Tabi
Linux kernel developer at Freescale

  parent reply	other threads:[~2010-03-26 15:23 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100311181604.13103.30088.stgit@angua>
2010-03-11 18:21 ` [PATCH 01/27] drivercore: Add of_match_table to the common device drivers Grant Likely
2010-03-11 18:21 ` [PATCH 02/27] drivers/gpio/of: don't use deprecated fields in of_platform_driver Grant Likely
2010-03-11 18:22 ` [PATCH 03/27] drivers/watchdog/of: don't use deprecated .name and .owner " Grant Likely
2010-03-11 18:22 ` [PATCH 04/27] drivers/video/of: don't use deprecated field " Grant Likely
2010-03-11 18:22 ` [PATCH 05/27] drivers/usb/of: " Grant Likely
2010-03-11 18:22 ` [PATCH 06/27] drivers/block/of: " Grant Likely
2010-03-11 18:22 ` [PATCH 07/27] drivers/char/of: " Grant Likely
2010-03-11 18:22 ` [PATCH 08/27] drivers/crypto/of: " Grant Likely
2010-03-11 18:22 ` [PATCH 09/27] drivers/atm/of: " Grant Likely
2010-03-11 18:22 ` [PATCH 10/27] drivers/input/of: " Grant Likely
2010-03-11 18:22 ` [PATCH 11/27] drivers/macintosh/of: " Grant Likely
2010-03-11 18:22 ` [PATCH 12/27] drivers/mtd/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 13/27] drivers/net/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 14/27] drivers/serial/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 15/27] drivers/spi/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 16/27] drivers/scsi/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 17/27] drivers/sbus/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 18/27] drivers/parport/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 19/27] drivers/pcmcia/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 20/27] drivers/mmc/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 21/27] drivers/hwmon/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 22/27] drivers/i2c/of: " Grant Likely
2010-03-11 18:23 ` [PATCH 23/27] drivers/infiniband/of: don't use deprecated fields " Grant Likely
2010-03-11 18:24 ` [PATCH 24/27] sound/of: " Grant Likely
2010-03-11 18:24 ` [PATCH 25/27] arch/powerpc/of: don't use deprecated field " Grant Likely
2010-03-11 18:24 ` [PATCH 26/27] arch/sparc/of: " Grant Likely
2010-03-11 18:24 ` [PATCH 27/27] of: remove obsolete members from of_platform_driver Grant Likely
2010-03-11 18:26 ` [PATCH 00/27] Clean up of_platform drivers David Miller
     [not found] ` <20100311182215.13103.45160.stgit@angua>
2010-03-11 18:28   ` [PATCH 05/27] drivers/usb/of: don't use deprecated field in of_platform_driver Greg KH
     [not found] ` <20100311182253.13103.92479.stgit@angua>
2010-03-12 17:31   ` [PATCH 12/27] drivers/mtd/of: " Sean MacLennan
     [not found] ` <20100311182349.13103.39322.stgit@angua>
2010-03-12 17:31   ` [PATCH 22/27] drivers/i2c/of: " Sean MacLennan
     [not found] ` <20100311182259.13103.87535.stgit@angua>
2010-03-26 15:23   ` Timur Tabi [this message]
     [not found]     ` <ed82fe3e1003260823q5a2ba774ifd3465b41b8f0a10-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-03-26 18:23       ` [alsa-devel] [PATCH 13/27] drivers/net/of: " 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=ed82fe3e1003260823q5a2ba774ifd3465b41b8f0a10@mail.gmail.com \
    --to=timur.tabi@gmail.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).