summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-07 21:47:45 +0200
committerMark Brown <broonie@kernel.org>2024-03-25 00:49:15 +0000
commit7fd54c205f104317b853fc417ac7e9d0b9531ddb (patch)
tree9c3e6537f569ae91a2a4639983a889479e3eaee4 /include/linux/spi
parent4cece764965020c22cff7665b18a012006359095 (diff)
downloadlinux-7fd54c205f104317b853fc417ac7e9d0b9531ddb.tar.gz
linux-7fd54c205f104317b853fc417ac7e9d0b9531ddb.tar.bz2
linux-7fd54c205f104317b853fc417ac7e9d0b9531ddb.zip
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.h8
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 */