diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2023-08-18 12:31:38 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-21 16:29:24 +0300 |
commit | 60ba4431c8e8c137f92d050b9f0bfc8e8c26a364 (patch) | |
tree | 8350aff2b073b4a5622ba8a8810d93e0e25020be /include/linux/spi | |
parent | 71345830575984c01c4c2b655ef3a7877100fba3 (diff) | |
download | linux-60ba4431c8e8c137f92d050b9f0bfc8e8c26a364.tar.xz |
spi: pxa2xx: switch to use modern name
Change legacy name master/slave to modern name host/target or controller.
No functional changed.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230818093154.1183529-8-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/pxa2xx_spi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h index 4658e7801b42..0916cb9bcb0a 100644 --- a/include/linux/spi/pxa2xx_spi.h +++ b/include/linux/spi/pxa2xx_spi.h @@ -19,7 +19,7 @@ struct pxa2xx_spi_controller { u16 num_chipselect; u8 enable_dma; u8 dma_burst_size; - bool is_slave; + bool is_target; /* DMA engine specific config */ bool (*dma_filter)(struct dma_chan *chan, void *param); @@ -31,7 +31,7 @@ struct pxa2xx_spi_controller { }; /* - * The controller specific data for SPI slave devices + * The controller specific data for SPI target devices * (resides in spi_board_info.controller_data), * copied to spi_device.platform_data ... mostly for * DMA tuning. |