davinci: spi: move event queue parameter to platform data
authorMichael Williamson <michael.williamson@criticallink.com>
Tue, 8 Feb 2011 12:59:55 +0000 (07:59 -0500)
committerKevin Hilman <khilman@ti.com>
Mon, 28 Feb 2011 22:53:29 +0000 (14:53 -0800)
commit2e3e2a5e4fef586ae9b1cfef42823c0aef1797f4
tree9b6619631c0798feff53c9f0d907abe2cf3b6394
parenta42f18c96da2220eaad603a7586d43cdd12d9f9f
davinci: spi: move event queue parameter to platform data

For DMA operation, the davinci spi driver needs an event queue number.
Currently, this number is passed as a IORESOURCE_DMA.  This is not
correct, as the event queue is not a DMA channel.  Pass the event queue
via the platform data structure instead.

On dm355 and dm365, move the eventq assignment for spi0 out of resources
array and into platform data.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/include/mach/spi.h
drivers/spi/davinci_spi.c