spi: spi-imx: use correct enumeration type
authorStefan Agner <stefan@agner.ch>
Mon, 2 Mar 2015 23:28:31 +0000 (00:28 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 3 Mar 2015 09:58:24 +0000 (09:58 +0000)
commite8361f70a85c3ecd8d5b971d4d8abcbb0f8586de
tree6fd8da73ab6adc929b39010b8d1de56ba29b714b
parentc517d838eb7d07bbe9507871fab3931deccff539
spi: spi-imx: use correct enumeration type

The fourth argument of dmaengine_prep_slave_sg needs to be of the
enumeration type dma_transfer_direction instead of dma_data_direction.
Since the used enumeration values actually stay the same, this is not
an actual issue at runtime.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c