Skip to content
Commit 073ac8fd authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[NET] smc91x: fix PXA DMA support code



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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 97d97224
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment