summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-dw-mid.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-06 18:30:21 +0300
committerMark Brown <broonie@kernel.org>2020-05-06 18:11:32 +0100
commite62a15d97b0adede829ba5b4f1c8e28f230bd8e8 (patch)
tree079f450dc89863128b08088a7399baf5cd528be8 /drivers/spi/spi-dw-mid.c
parent0c2ce3fe4dd0b8f8dda07ea029f51ddf4c5190c2 (diff)
downloadlinux-stable-e62a15d97b0adede829ba5b4f1c8e28f230bd8e8.tar.gz
linux-stable-e62a15d97b0adede829ba5b4f1c8e28f230bd8e8.tar.bz2
linux-stable-e62a15d97b0adede829ba5b4f1c8e28f230bd8e8.zip
spi: dw: Downgrade interrupt.h to irqreturn.h where appropriate
spi-dw-mid.c along with spi-dw.h are direct users of irqreturn.h and nothing else is being used from interrupt.h. So, switch them to use the former instead of latter one. While here, move the header under #ifdef CONFIG_SPI_DW_MID_DMA in spi-dw-mid.c. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200506153025.21441-4-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-mid.c')
-rw-r--r--drivers/spi/spi-dw-mid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-dw-mid.c b/drivers/spi/spi-dw-mid.c
index 86d9f79267f0..02defb68618d 100644
--- a/drivers/spi/spi-dw-mid.c
+++ b/drivers/spi/spi-dw-mid.c
@@ -7,7 +7,6 @@
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
-#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <linux/types.h>
@@ -15,6 +14,7 @@
#include "spi-dw.h"
#ifdef CONFIG_SPI_DW_MID_DMA
+#include <linux/irqreturn.h>
#include <linux/pci.h>
#include <linux/platform_data/dma-dw.h>