summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-at91-usart.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2018-09-11 11:38:50 +0100
committerLee Jones <lee.jones@linaro.org>2018-09-11 11:43:07 +0100
commit259e0a00dc7c74617a8b2e33ae3604e4ffaed9cd (patch)
treec252b03fa92b8bfff64f43598313c5b32da4f5b5 /drivers/spi/spi-at91-usart.c
parent8a3813235502b704fe7ee9247689e97a3c165565 (diff)
downloadlinux-259e0a00dc7c74617a8b2e33ae3604e4ffaed9cd.tar.bz2
spi: at91-usart: Make local functions static
Suggested-by: Radu Nicolae Pirea <pirea.radu@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/spi/spi-at91-usart.c')
-rw-r--r--drivers/spi/spi-at91-usart.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/spi/spi-at91-usart.c b/drivers/spi/spi-at91-usart.c
index 4712bd470c89..a924657642fa 100644
--- a/drivers/spi/spi-at91-usart.c
+++ b/drivers/spi/spi-at91-usart.c
@@ -215,9 +215,9 @@ static int at91_usart_spi_setup(struct spi_device *spi)
return 0;
}
-int at91_usart_spi_transfer_one(struct spi_controller *ctlr,
- struct spi_device *spi,
- struct spi_transfer *xfer)
+static int at91_usart_spi_transfer_one(struct spi_controller *ctlr,
+ struct spi_device *spi,
+ struct spi_transfer *xfer)
{
struct at91_usart_spi *aus = spi_master_get_devdata(ctlr);
@@ -242,8 +242,8 @@ int at91_usart_spi_transfer_one(struct spi_controller *ctlr,
return 0;
}
-int at91_usart_spi_prepare_message(struct spi_controller *ctlr,
- struct spi_message *message)
+static int at91_usart_spi_prepare_message(struct spi_controller *ctlr,
+ struct spi_message *message)
{
struct at91_usart_spi *aus = spi_master_get_devdata(ctlr);
struct spi_device *spi = message->spi;
@@ -256,8 +256,8 @@ int at91_usart_spi_prepare_message(struct spi_controller *ctlr,
return 0;
}
-int at91_usart_spi_unprepare_message(struct spi_controller *ctlr,
- struct spi_message *message)
+static int at91_usart_spi_unprepare_message(struct spi_controller *ctlr,
+ struct spi_message *message)
{
struct at91_usart_spi *aus = spi_master_get_devdata(ctlr);