powerpc/vio: Use dma ops helpers
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 18 Oct 2010 07:26:59 +0000 (07:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:20 +0000 (15:48 +1100)
commit6d283d782f9fbafee5c672bfdaff4c10f6fdc788
tree0bbf54dd096f47713b202453a8a7f99e3333fc8f
parent72b962d3bba19657abaa6cc8806661ecbde5ee92
powerpc/vio: Use dma ops helpers

Use the set_dma_ops helper. Instead of modifying vio_dma_mapping_ops,
just create a trivial wrapper for dma_supported.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vio.c