diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-02-07 09:27:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-07 19:32:50 +0100 |
commit | b72061a3cb0f1c5aa3f919e2dadb4a1631773e7a (patch) | |
tree | 93d56c76ef28e73a1a0bf15d2c10030e2035e33d /net/caif | |
parent | net/sched: sch_plug - Queue traffic until an explicit release command (diff) | |
download | linux-b72061a3cb0f1c5aa3f919e2dadb4a1631773e7a.tar.xz linux-b72061a3cb0f1c5aa3f919e2dadb4a1631773e7a.zip |
net: fec: Fix build due to wrong dev annotation
commit 21a4e469 (netdev: ethernet dev_alloc_skb to netdev_alloc_skb)
should have used "ndev" instead of "dev".
This causes the following build errors:
drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_rx':
drivers/net/ethernet/freescale/fec.c:714: error: 'dev' undeclared (first use in this function)
drivers/net/ethernet/freescale/fec.c:714: error: (Each undeclared identifier is reported only once
drivers/net/ethernet/freescale/fec.c:714: error: for each function it appears in.)
drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_alloc_buffers':
drivers/net/ethernet/freescale/fec.c:1213: error: 'dev' undeclared (first use in this function)
Fix it, so that fec driver can be built again.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions