netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: dm9000: Fix build
@ 2011-04-18 11:04 Mark Brown
  2011-04-18 11:12 ` Driver build-testing (was: [PATCH] net: dm9000: Fix build) Michał Mirosław
  2011-04-18 21:19 ` [PATCH] net: dm9000: Fix build David Miller
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Brown @ 2011-04-18 11:04 UTC (permalink / raw)
  To: David S. Miller, Michał Mirosław; +Cc: netdev, patches, Mark Brown

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>
---
 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 f7bdebb..fbaff35 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 */
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-04-18 21:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18 11:04 [PATCH] net: dm9000: Fix build Mark Brown
2011-04-18 11:12 ` Driver build-testing (was: [PATCH] net: dm9000: Fix build) Michał Mirosław
2011-04-18 12:25   ` Mark Brown
2011-04-18 14:51     ` Micha? Miros?aw
2011-04-18 14:55       ` Randy Dunlap
2011-04-18 15:17         ` Micha? Miros?aw
2011-04-18 15:28           ` Randy Dunlap
2011-04-18 16:07       ` Mark Brown
2011-04-18 21:23         ` Driver build-testing David Miller
2011-04-18 21:19 ` [PATCH] net: dm9000: Fix build David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).