Skip to content

Commit

Permalink
net: dm9000: Fix build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and David S. Miller committed Apr 18, 2011
1 parent 7c89943 commit 56d37f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/dm9000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 56d37f1

Please sign in to comment.