aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi-s3c64xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index d1c8441f638c..cd43b4b985a5 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -132,7 +132,7 @@
132 132
133struct s3c64xx_spi_dma_data { 133struct s3c64xx_spi_dma_data {
134 unsigned ch; 134 unsigned ch;
135 enum dma_data_direction direction; 135 enum dma_transfer_direction direction;
136 enum dma_ch dmach; 136 enum dma_ch dmach;
137 struct property *dma_prop; 137 struct property *dma_prop;
138}; 138};
@@ -1065,11 +1065,11 @@ static int __devinit s3c64xx_spi_get_dmares(
1065 1065
1066 if (tx) { 1066 if (tx) {
1067 dma_data = &sdd->tx_dma; 1067 dma_data = &sdd->tx_dma;
1068 dma_data->direction = DMA_TO_DEVICE; 1068 dma_data->direction = DMA_MEM_TO_DEV;
1069 chan_str = "tx"; 1069 chan_str = "tx";
1070 } else { 1070 } else {
1071 dma_data = &sdd->rx_dma; 1071 dma_data = &sdd->rx_dma;
1072 dma_data->direction = DMA_FROM_DEVICE; 1072 dma_data->direction = DMA_DEV_TO_MEM;
1073 chan_str = "rx"; 1073 chan_str = "rx";
1074 } 1074 }
1075 1075