[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180901212350.GA89606@lkp-ib04>
Date: Sun, 2 Sep 2018 05:23:50 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Radu Pirea <radu.pirea@...rochip.com>
Cc: kbuild-all@...org, richard.genoud@...il.com, pirea.radu@...il.com,
lee.jones@...aro.org, robh+dt@...nel.org, mark.rutland@....com,
nicolas.ferre@...rochip.com, alexandre.belloni@...tlin.com,
gregkh@...uxfoundation.org, jslaby@...e.com, broonie@...nel.org,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-serial@...r.kernel.org, Radu Pirea <radu.pirea@...rochip.com>
Subject: [RFC PATCH] spi: at91-usart: at91_usart_spi_transfer_one() can be
static
Fixes: 5890bab41187 ("spi: at91-usart: add driver for at91-usart as spi")
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
spi-at91-usart.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/spi-at91-usart.c b/drivers/spi/spi-at91-usart.c
index 4712bd4..a924657 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);
Powered by blists - more mailing lists