]> bbs.cooldavid.org Git - net-next-2.6.git/commit
3c59x: Fix call to mdio_sync() with the wrong argument
authorBen Hutchings <ben@decadent.org.uk>
Thu, 22 Jul 2010 14:18:28 +0000 (14:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2010 20:05:13 +0000 (13:05 -0700)
commit344e0f623cec5eba273db06fe57db080988d6b26
tree6fa948a7ac34e8023490013a890967e204035c64
parent9c1797808996eef47a7954ec580c6db7de1fff76
3c59x: Fix call to mdio_sync() with the wrong argument

commit a095cfc40ec7ebe63e9532383c5b5c2a27b14075
"3c59x: Specify window explicitly for access to windowed registers"
changed the first parameter to mdio_sync(), from a pointer to the
register mapping, to a pointer to the vortex_private structure,
and changed all but one of the call sites.  Fix that last one.

Reported-by: Luca Falavigna <dktrkranz@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/3c59x.c