[POWERPC] Add DMA ops support for of_platform_device to Cell
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:25:04 +0000 (17:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:38:42 +0000 (20:38 +1100)
commit868108784ccf0add6ac593bfbc2eb5a0804af48d
tree69a2a58dcce8d4639a9b8027e32a82deb6035ca6
parent12d04eef927bf61328af2c7cbe756c96f98ac3bf
[POWERPC] Add DMA ops support for of_platform_device to Cell

This patch adds a bus device notifier to the of_platform bus type on
cell to setup the DMA operations for of_platform_devices. We currently
use the PCI operations as Cell use a special version of them that
happens to be suitable for our needs.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/setup.c