Message ID | 20200506153025.21441-3-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 0c2ce3fe4dd0b8f8dda07ea029f51ddf4c5190c2 |
Headers | show |
Series | [v1,1/8] spi: dw: Zero DMA Tx and Rx configurations on stack | expand |
diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-mmio.c index abd3bb5e52dba..fc3577b07a1ee 100644 --- a/drivers/spi/spi-dw-mmio.c +++ b/drivers/spi/spi-dw-mmio.c @@ -7,7 +7,6 @@ #include <linux/clk.h> #include <linux/err.h> -#include <linux/interrupt.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/slab.h> diff --git a/drivers/spi/spi-dw-pci.c b/drivers/spi/spi-dw-pci.c index 12c131b5fb4ec..172a9f2996316 100644 --- a/drivers/spi/spi-dw-pci.c +++ b/drivers/spi/spi-dw-pci.c @@ -5,7 +5,6 @@ * Copyright (c) 2009, 2014 Intel Corporation. */ -#include <linux/interrupt.h> #include <linux/pci.h> #include <linux/pm_runtime.h> #include <linux/slab.h> diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index 8fe724279d158..aeed49b4a444a 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -2,6 +2,7 @@ #ifndef DW_SPI_HEADER_H #define DW_SPI_HEADER_H +#include <linux/interrupt.h> #include <linux/io.h> #include <linux/scatterlist.h>
The actual user of interrupt.h is spi-dw.h and not bus drivers. Move header there. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/spi/spi-dw-mmio.c | 1 - drivers/spi/spi-dw-pci.c | 1 - drivers/spi/spi-dw.h | 1 + 3 files changed, 1 insertion(+), 2 deletions(-)