diff options
author | Mark Brown <broonie@kernel.org> | 2024-03-26 14:46:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-26 14:46:40 +0300 |
commit | 7f2f4caaf66624b6ece6801749fc47d804a6be16 (patch) | |
tree | 5bad51e5fdfa166268d263e3134810f1d34a63a8 /include/linux/spi | |
parent | 9b163e0d330debbf7dcc14b2c3e2dc19a3b50a1d (diff) | |
parent | b5867a5c0d7a6bf36f59f3d472c7aed33ca4d02c (diff) | |
download | linux-7f2f4caaf66624b6ece6801749fc47d804a6be16.tar.xz |
spi: pxa2xx: Clean up linux/spi/pxa2xx_spi.h
Merge series from Andy Shevchenko <andriy.shevchenko@linux.intel.com>:
A couple of cleanups against linux/spi/pxa2xx_spi.h.
I'm sending this as v3 to land in the SPI subsystem. Meanwhile I'm
preparing an update to make linux/spi/pxa2xx_spi.h private to the
subsystem (PXA2xx driver). But the second part will be presented later
on (likely after v6.9-rc1). That said, this can be routed either via
SoC tree or SPI, up to respective maintainers.
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/pxa2xx_spi.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h index ca2cd4e30ead..e5a4a045fb67 100644 --- a/include/linux/spi/pxa2xx_spi.h +++ b/include/linux/spi/pxa2xx_spi.h @@ -17,7 +17,7 @@ struct dma_chan; * (resides in device.platform_data). */ struct pxa2xx_spi_controller { - u16 num_chipselect; + u8 num_chipselect; u8 enable_dma; u8 dma_burst_size; bool is_target; @@ -45,12 +45,4 @@ struct pxa2xx_spi_chip { u32 timeout; }; -#if defined(CONFIG_ARCH_PXA) || defined(CONFIG_ARCH_MMP) - -#include <linux/clk.h> - -extern void pxa2xx_set_spi_info(unsigned id, struct pxa2xx_spi_controller *info); - -#endif - #endif /* __LINUX_SPI_PXA2XX_SPI_H */ |