diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-05-06 17:30:20 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-06 19:11:32 +0200 |
commit | 0c2ce3fe4dd0b8f8dda07ea029f51ddf4c5190c2 (patch) | |
tree | 0310ffa6280465346defd6005c3c8922389800be /drivers/spi | |
parent | spi: dw: Remove unused variable in CR0 configuring hooks (diff) | |
download | linux-0c2ce3fe4dd0b8f8dda07ea029f51ddf4c5190c2.tar.xz linux-0c2ce3fe4dd0b8f8dda07ea029f51ddf4c5190c2.zip |
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>
Diffstat (limited to '')
-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> |