diff options
author | Emil Medve <Emilian.Medve@Freescale.com> | 2007-10-15 09:43:50 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-15 14:49:12 -0400 |
commit | 88a15f2e28bd6a908b2925f1b76e70ef3a88297d (patch) | |
tree | c3c994624027c09688c119d80b7f59a4b4c6b44f /drivers | |
parent | 293c8513398657f6263fcdb03c87f2760cf61be4 (diff) |
ucc_geth: Fix build break introduced by commit 09f75cd7bf13720738e6a196cc0107ce9a5bd5a0
drivers/net/ucc_geth.c: In function 'ucc_geth_rx':
drivers/net/ucc_geth.c:3483: error: 'dev' undeclared (first use in this function)
drivers/net/ucc_geth.c:3483: error: (Each undeclared identifier is reported only once
drivers/net/ucc_geth.c:3483: error: for each function it appears in.)
make[2]: *** [drivers/net/ucc_geth.o] Error 1
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ucc_geth.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index d00e7d41f6a5..bec413ba9bca 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #define UGETH_MSG_DEFAULT (NETIF_MSG_IFUP << 1 ) - 1 | 63 | #define UGETH_MSG_DEFAULT (NETIF_MSG_IFUP << 1 ) - 1 |
64 | 64 | ||
65 | void uec_set_ethtool_ops(struct net_device *netdev); | 65 | void uec_set_ethtool_ops(struct net_device *netdev); |
66 | 66 | ||
67 | static DEFINE_SPINLOCK(ugeth_lock); | 67 | static DEFINE_SPINLOCK(ugeth_lock); |
68 | 68 | ||
69 | static struct { | 69 | static struct { |
@@ -3454,9 +3454,12 @@ static int ucc_geth_rx(struct ucc_geth_private *ugeth, u8 rxQ, int rx_work_limit | |||
3454 | u16 length, howmany = 0; | 3454 | u16 length, howmany = 0; |
3455 | u32 bd_status; | 3455 | u32 bd_status; |
3456 | u8 *bdBuffer; | 3456 | u8 *bdBuffer; |
3457 | struct net_device * dev; | ||
3457 | 3458 | ||
3458 | ugeth_vdbg("%s: IN", __FUNCTION__); | 3459 | ugeth_vdbg("%s: IN", __FUNCTION__); |
3459 | 3460 | ||
3461 | dev = ugeth->dev; | ||
3462 | |||
3460 | /* collect received buffers */ | 3463 | /* collect received buffers */ |
3461 | bd = ugeth->rxBd[rxQ]; | 3464 | bd = ugeth->rxBd[rxQ]; |
3462 | 3465 | ||