diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-01-16 16:13:31 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-23 10:59:56 +0000 |
commit | 51eea52d26d4939b788b7244c28cf47e902b4c4c (patch) | |
tree | 9eda241338419c926a471db7acbadf6913049896 /include/linux/spi | |
parent | bfc7af6d6df8d75b9c693b8eb98c21aa75c1e377 (diff) | |
download | linux-51eea52d26d4939b788b7244c28cf47e902b4c4c.tar.gz linux-51eea52d26d4939b788b7244c28cf47e902b4c4c.tar.bz2 linux-51eea52d26d4939b788b7244c28cf47e902b4c4c.zip |
pxa2xx: replace spi_master with spi_controller
It's also a slave controller driver now, calling it "master" is slightly
misleading.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
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 b0674e330ef6..c1c59473cef9 100644 --- a/include/linux/spi/pxa2xx_spi.h +++ b/include/linux/spi/pxa2xx_spi.h @@ -22,7 +22,7 @@ struct dma_chan; /* device.platform_data for SSP controller devices */ -struct pxa2xx_spi_master { +struct pxa2xx_spi_controller { u16 num_chipselect; u8 enable_dma; bool is_slave; @@ -54,7 +54,7 @@ struct pxa2xx_spi_chip { #include <linux/clk.h> -extern void pxa2xx_set_spi_info(unsigned id, struct pxa2xx_spi_master *info); +extern void pxa2xx_set_spi_info(unsigned id, struct pxa2xx_spi_controller *info); #endif #endif |