[NET] smc91x: fix PXA DMA support code
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 1 Sep 2007 20:27:18 +0000 (21:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Oct 2007 17:53:37 +0000 (18:53 +0100)
The PXA DMA support code for smc91x doesn't pass a struct device to
the dma_*map_single() functions, which leads to an oops in the dma
bounce code.  We have a struct device which was used to probe the
SMC chip.  Use it.

(This patch is slightly larger because it requires struct smc_local
to move into the header file.)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found