Re: [PATCH 06/11] spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set

2013-01-17 Thread Mika Westerberg
On Thu, Jan 17, 2013 at 10:36:19AM +0100, Linus Walleij wrote: > On Mon, Jan 7, 2013 at 11:44 AM, Mika Westerberg > wrote: > > > The PXA SPI driver uses PXA platform specific private DMA implementation > > which does not work on non-PXA platforms. In order to use this driver on > > other platform

Re: [PATCH 06/11] spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set

2013-01-17 Thread Linus Walleij
On Mon, Jan 7, 2013 at 11:44 AM, Mika Westerberg wrote: > The PXA SPI driver uses PXA platform specific private DMA implementation > which does not work on non-PXA platforms. In order to use this driver on > other platforms we need to move the private DMA implementation into a > separate function

[PATCH 06/11] spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set

2013-01-07 Thread Mika Westerberg
The PXA SPI driver uses PXA platform specific private DMA implementation which does not work on non-PXA platforms. In order to use this driver on other platforms we need to move the private DMA implementation into a separate functions that get stubbed out when !CONFIG_ARCH_PXA. While we are there