summaryrefslogtreecommitdiffstats
path: root/Documentation/spi/pxa2xx.rst
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-07 21:47:46 +0200
committerMark Brown <broonie@kernel.org>2024-03-25 00:49:16 +0000
commite3f209e269d32ebc0ba7f497f5d2af21ed4f0dd0 (patch)
tree434c6be7d0b77fd34b2f2c2c357babd103aab19a /Documentation/spi/pxa2xx.rst
parent7fd54c205f104317b853fc417ac7e9d0b9531ddb (diff)
downloadlinux-stable-e3f209e269d32ebc0ba7f497f5d2af21ed4f0dd0.tar.gz
linux-stable-e3f209e269d32ebc0ba7f497f5d2af21ed4f0dd0.tar.bz2
linux-stable-e3f209e269d32ebc0ba7f497f5d2af21ed4f0dd0.zip
spi: pxa2xx: Make num_chipselect 8-bit in the struct pxa2xx_spi_controller
There is no use for whole 16-bit for the number of chip select pins. Drop it to 8 bits. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://msgid.link/r/20240307195056.4059864-3-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/spi/pxa2xx.rst')
-rw-r--r--Documentation/spi/pxa2xx.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/spi/pxa2xx.rst b/Documentation/spi/pxa2xx.rst
index 19479b801826..0997d8eaf190 100644
--- a/Documentation/spi/pxa2xx.rst
+++ b/Documentation/spi/pxa2xx.rst
@@ -24,7 +24,7 @@ arch/.../mach-*/board-*.c as a "platform device". The host controller configurat
is passed to the driver via a table found in include/linux/spi/pxa2xx_spi.h::
struct pxa2xx_spi_controller {
- u16 num_chipselect;
+ u8 num_chipselect;
u8 enable_dma;
...
};