aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi_bfin5xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
index 4e45a3f7c15e..0bbe19eafc26 100644
--- a/drivers/spi/spi_bfin5xx.c
+++ b/drivers/spi/spi_bfin5xx.c
@@ -1077,13 +1077,13 @@ static int setup(struct spi_device *spi)
1077 */ 1077 */
1078 if (chip->enable_dma && !drv_data->dma_requested) { 1078 if (chip->enable_dma && !drv_data->dma_requested) {
1079 /* register dma irq handler */ 1079 /* register dma irq handler */
1080 if (request_dma(drv_data->dma_channel, "BF53x_SPI_DMA") < 0) { 1080 if (request_dma(drv_data->dma_channel, "BFIN_SPI_DMA") < 0) {
1081 dev_dbg(&spi->dev, 1081 dev_dbg(&spi->dev,
1082 "Unable to request BlackFin SPI DMA channel\n"); 1082 "Unable to request BlackFin SPI DMA channel\n");
1083 return -ENODEV; 1083 return -ENODEV;
1084 } 1084 }
1085 if (set_dma_callback(drv_data->dma_channel, 1085 if (set_dma_callback(drv_data->dma_channel,
1086 (void *)dma_irq_handler, drv_data) < 0) { 1086 dma_irq_handler, drv_data) < 0) {
1087 dev_dbg(&spi->dev, "Unable to set dma callback\n"); 1087 dev_dbg(&spi->dev, "Unable to set dma callback\n");
1088 return -EPERM; 1088 return -EPERM;
1089 } 1089 }