[ARM] Add a reference from struct device to the dma bounce info
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 12 Feb 2007 10:28:24 +0000 (10:28 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 12 Feb 2007 10:28:24 +0000 (10:28 +0000)
commitab2c21529df6ee0f06787773882a1abc6bc2d665
tree9ad875a78ea5122a8b0388dd8fe1d3e2c9e6d948
parent44b18693904e65d840ae999ac8aa717551cf509f
[ARM] Add a reference from struct device to the dma bounce info

dmabounce keeps a per-device structure, and finds the correct
structure by walking a list.  Since architectures can now add
fields to struct device, we can attach this structure direct to
the struct device, thereby eliminating the code to search the
list.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/dmabounce.c
include/asm-arm/device.h