diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-05-06 18:30:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-06 18:11:32 +0100 |
commit | 0c2ce3fe4dd0b8f8dda07ea029f51ddf4c5190c2 (patch) | |
tree | 0310ffa6280465346defd6005c3c8922389800be | |
parent | d4dd6c0a404a2ed3843b4b685d6990c4438a64c0 (diff) |
spi: dw: Move interrupt.h to spi-dw.h who is user of it
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>
Link: https://lore.kernel.org/r/20200506153025.21441-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-dw-mmio.c | 1 | ||||
-rw-r--r-- | drivers/spi/spi-dw-pci.c | 1 | ||||
-rw-r--r-- | drivers/spi/spi-dw.h | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-mmio.c index abd3bb5e52db..fc3577b07a1e 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 12c131b5fb4e..172a9f299631 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 8fe724279d15..aeed49b4a444 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> |