diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-05-06 17:30:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-06 19:11:34 +0200 |
commit | 37aa8aa68492deb56f9e4c8b2d00aa5d9dae7da2 (patch) | |
tree | 954cf651f581a6ef70470192d14e6e8810f175b3 /drivers/spi/spi-dw.h | |
parent | spi: dw: Move few headers under #ifdef CONFIG_SPI_DW_MID_DMA (diff) | |
download | linux-37aa8aa68492deb56f9e4c8b2d00aa5d9dae7da2.tar.xz linux-37aa8aa68492deb56f9e4c8b2d00aa5d9dae7da2.zip |
spi: dw: Add 'mfld' suffix to Intel Medfield related routines
In order to prepare driver for the extension to support newer hardware,
add 'mfld' suffix to some related functions.
While here, move DMA parameters assignment under existing #ifdef
CONFIG_SPI_DW_MID_DMA.
There is no functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200506153025.21441-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.h')
-rw-r--r-- | drivers/spi/spi-dw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index 5e1e78210d8d..b7e3f0ebba44 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -260,5 +260,6 @@ extern u32 dw_spi_update_cr0_v1_01a(struct spi_controller *master, struct spi_transfer *transfer); /* platform related setup */ -extern int dw_spi_mid_init(struct dw_spi *dws); /* Intel MID platforms */ +extern int dw_spi_mid_init_mfld(struct dw_spi *dws); + #endif /* DW_SPI_HEADER_H */ |