1 --- a/drivers/spi/spi-bitbang.c
2 +++ b/drivers/spi/spi-bitbang.c
3 @@ -234,13 +234,14 @@ void spi_bitbang_cleanup(struct spi_devi
5 EXPORT_SYMBOL_GPL(spi_bitbang_cleanup);
7 -static int spi_bitbang_bufs(struct spi_device *spi, struct spi_transfer *t)
8 +int spi_bitbang_bufs(struct spi_device *spi, struct spi_transfer *t)
10 struct spi_bitbang_cs *cs = spi->controller_state;
11 unsigned nsecs = cs->nsecs;
13 return cs->txrx_bufs(spi, cs->txrx_word, nsecs, t);
15 +EXPORT_SYMBOL_GPL(spi_bitbang_bufs);
17 /*----------------------------------------------------------------------*/
19 --- a/include/linux/spi/spi_bitbang.h
20 +++ b/include/linux/spi/spi_bitbang.h
21 @@ -44,6 +44,7 @@ extern void spi_bitbang_cleanup(struct s
22 extern int spi_bitbang_transfer(struct spi_device *spi, struct spi_message *m);
23 extern int spi_bitbang_setup_transfer(struct spi_device *spi,
24 struct spi_transfer *t);
25 +extern int spi_bitbang_bufs(struct spi_device *spi, struct spi_transfer *t);
27 /* start or stop queue processing */
28 extern int spi_bitbang_start(struct spi_bitbang *spi);