diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-03-07 22:47:45 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-25 03:49:15 +0300 |
commit | 7fd54c205f104317b853fc417ac7e9d0b9531ddb (patch) | |
tree | 9c3e6537f569ae91a2a4639983a889479e3eaee4 /include/linux/spi | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
download | linux-7fd54c205f104317b853fc417ac7e9d0b9531ddb.tar.xz |
spi: pxa2xx: Kill pxa2xx_set_spi_info()
There is the only one user of the pxa2xx_set_spi_info(). Unexport it
and inline to the actual user.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://msgid.link/r/20240307195056.4059864-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/pxa2xx_spi.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h index ca2cd4e30ead..56aba2f737b1 100644 --- a/include/linux/spi/pxa2xx_spi.h +++ b/include/linux/spi/pxa2xx_spi.h @@ -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 */ |