diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-18 05:04:37 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-19 01:19:32 +0400 |
commit | 56d37f17165084e10f425e66f0bd964f06e8bd23 (patch) | |
tree | 6daf355e0f46909359685b77dadc78637799b5b7 /drivers/net/dm9000.c | |
parent | 7c89943236750537d26421d9bbb6f6575e2d1e1b (diff) | |
download | linux-56d37f17165084e10f425e66f0bd964f06e8bd23.tar.xz |
net: dm9000: Fix build
Commit c88fcb (net: dm9000: convert to hw_features) broke the build of
the dm9000 driver since it merged functions which use different names
for the board info structure used for I/O operations without updating
all the references to use the same name. Fix that.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r-- | drivers/net/dm9000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index f7bdebbcb908..fbaff3584bd4 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c @@ -768,7 +768,7 @@ dm9000_init_dm9000(struct net_device *dev) /* Checksum mode */ if (dev->hw_features & NETIF_F_RXCSUM) - iow(dm, DM9000_RCSR, + iow(db, DM9000_RCSR, (dev->features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0); iow(db, DM9000_GPCR, GPCR_GEP_CNTL); /* Let GPIO0 output */ |