Commit Graph
2 Commits
Author SHA1 Message Date
Russell King ab2c21529d [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 <[email protected]>
2007-02-12 10:28:24 +00:00
Benjamin Herrenschmidt c6dbaef22a Driver core: add dev_archdata to struct device
Add arch specific dev_archdata to struct device

Adds an arch specific struct dev_arch to struct device. This enables
architecture to add specific fields to every device in the system, like
DMA operation pointers, NUMA node ID, firmware specific data, etc...

Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Acked-By: David Howells <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-12-01 14:52:01 -08:00