summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2018-04-17 21:53:23 +0200
committerMark Brown <broonie@kernel.org>2018-04-18 13:01:35 +0200
commit71293a60e38f44b1d18c14803f0dd2744f6b9a12 (patch)
treee22134a4be750604c056050f3c65da8c5b00d34a /drivers/spi
parentspi: spi-s3c64xx: Add missing s3c64xx_ prefix to function names (diff)
downloadlinux-71293a60e38f44b1d18c14803f0dd2744f6b9a12.tar.xz
linux-71293a60e38f44b1d18c14803f0dd2744f6b9a12.zip
spi: pxa2xx: pxa2xx_spi_transfer_one() can be static
Fixes: d5898e19c0d7 ("spi: pxa2xx: Use core message processing loop") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-pxa2xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
index c852ea5c28c6..40f1346b8188 100644
--- a/drivers/spi/spi-pxa2xx.c
+++ b/drivers/spi/spi-pxa2xx.c
@@ -911,9 +911,9 @@ static bool pxa2xx_spi_can_dma(struct spi_controller *master,
xfer->len >= chip->dma_burst_size;
}
-int pxa2xx_spi_transfer_one(struct spi_controller *master,
- struct spi_device *spi,
- struct spi_transfer *transfer)
+static int pxa2xx_spi_transfer_one(struct spi_controller *master,
+ struct spi_device *spi,
+ struct spi_transfer *transfer)
{
struct driver_data *drv_data = spi_controller_get_devdata(master);
struct spi_message *message = master->cur_msg;