diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-21 18:19:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-21 18:19:02 -0400 |
commit | e138f96bf5142c400b6b00f4cf69031bccc48f32 (patch) | |
tree | 8bdce5d650c14e7366682a25d343d29b273ce7f8 /drivers/net/mv643xx_eth.c | |
parent | e1cdd553d482ceb083fac5e544e8702fccefbfd6 (diff) |
mv643xx_eth: Fix build regression.
From Stephen Rothwell:
--------------------
After merging the final tree, today's linux-next build (powerpc chrp32_defconfig)
failed like this:
drivers/net/mv643xx_eth.c: In function 'port_start':
drivers/net/mv643xx_eth.c:2250: error: 'dev' undeclared (first use in this function)
Caused by commit aad59c431b77 ("net: mv643xx: convert to hw_features").
--------------------
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 29605a34d4c1..57c2ac04f9ff 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -2247,7 +2247,7 @@ static void port_start(struct mv643xx_eth_private *mp) | |||
2247 | * frames to RX queue #0, and include the pseudo-header when | 2247 | * frames to RX queue #0, and include the pseudo-header when |
2248 | * calculating receive checksums. | 2248 | * calculating receive checksums. |
2249 | */ | 2249 | */ |
2250 | mv643xx_eth_set_features(dev, dev->features); | 2250 | mv643xx_eth_set_features(mp->dev, mp->dev->features); |
2251 | 2251 | ||
2252 | /* | 2252 | /* |
2253 | * Treat BPDUs as normal multicasts, and disable partition mode. | 2253 | * Treat BPDUs as normal multicasts, and disable partition mode. |