summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bitbang.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-05 11:44:49 +0100
committerMark Brown <broonie@linaro.org>2013-07-15 11:29:52 +0100
commit874b31585650afa6745de5133849365e7e6af418 (patch)
treef6995c39b6cb31e3c487f04e384c1acd9870c492 /drivers/spi/spi-bitbang.c
parentad81f0545ef01ea651886dddac4bef6cec930092 (diff)
downloadtalos-obmc-linux-874b31585650afa6745de5133849365e7e6af418.tar.gz
talos-obmc-linux-874b31585650afa6745de5133849365e7e6af418.zip
spi/bitbang: Unexport spi_bitbang_transfer()
Currently no drivers use the ability to override spi_bitbang_transfer() and if any started this would make it harder to convert the bitbang code to use transfer_one_message() so remove the export in order to prevent anyone starting. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-bitbang.c')
-rw-r--r--drivers/spi/spi-bitbang.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-bitbang.c b/drivers/spi/spi-bitbang.c
index a63d7da3bfe2..495ce0a51d2f 100644
--- a/drivers/spi/spi-bitbang.c
+++ b/drivers/spi/spi-bitbang.c
@@ -376,7 +376,7 @@ static void bitbang_work(struct work_struct *work)
/**
* spi_bitbang_transfer - default submit to transfer queue
*/
-int spi_bitbang_transfer(struct spi_device *spi, struct spi_message *m)
+static int spi_bitbang_transfer(struct spi_device *spi, struct spi_message *m)
{
struct spi_bitbang *bitbang;
unsigned long flags;
@@ -398,7 +398,6 @@ int spi_bitbang_transfer(struct spi_device *spi, struct spi_message *m)
return status;
}
-EXPORT_SYMBOL_GPL(spi_bitbang_transfer);
/*----------------------------------------------------------------------*/
OpenPOWER on IntegriCloud