]> www.infradead.org Git - users/hch/configfs.git/commit
spi: dw: Move few headers under #ifdef CONFIG_SPI_DW_MID_DMA
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 6 May 2020 15:30:22 +0000 (18:30 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 6 May 2020 17:11:33 +0000 (18:11 +0100)
commite7940952644558e680033ae0450978445e53b423
tree64bb7fd52455e3ac42698bc7fb33947a54799bd7
parente62a15d97b0adede829ba5b4f1c8e28f230bd8e8
spi: dw: Move few headers under #ifdef CONFIG_SPI_DW_MID_DMA

There is no user of few headers without CONFIG_SPI_DW_MID_DMA being set.
Move them under condition.

While at it, remove unused slab.h there.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200506153025.21441-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c