Commit 56d37f17165084e10f425e66f0bd964f06e8bd23

Authored by Mark Brown
Committed by David S. Miller
1 parent 7c89943236

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/net/dm9000.c
... ... @@ -768,7 +768,7 @@
768 768  
769 769 /* Checksum mode */
770 770 if (dev->hw_features & NETIF_F_RXCSUM)
771   - iow(dm, DM9000_RCSR,
  771 + iow(db, DM9000_RCSR,
772 772 (dev->features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0);
773 773  
774 774 iow(db, DM9000_GPCR, GPCR_GEP_CNTL); /* Let GPIO0 output */