gianfar: pass the proper dev to DMA ops
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 Mar 2009 06:28:22 +0000 (23:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2009 06:28:22 +0000 (23:28 -0700)
commit4826857f1bf07f9c0f1495e9b05d125552c88a85
tree247387255d4dc1939e88fb640da7cd9ebbae8a73
parent4b704d59d6fb152bcd0883b84af5936a29067f12
gianfar: pass the proper dev to DMA ops

We need to be passing the of_platform device struct into the DMA ops as
its the one that has the archdata setup to know which low-level DMA ops we
should be using (not the net_device one).  This isn't an issue until we
expect the archdata to be setup correctly.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
drivers/net/gianfar.h