linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Radu Pirea <radu.pirea@microchip.com>
Cc: kbuild-all@01.org, richard.genoud@gmail.com,
	pirea.radu@gmail.com, lee.jones@linaro.org, robh+dt@kernel.org,
	mark.rutland@arm.com, nicolas.ferre@microchip.com,
	alexandre.belloni@bootlin.com, gregkh@linuxfoundation.org,
	jslaby@suse.com, broonie@kernel.org, linux-spi@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-serial@vger.kernel.org,
	Radu Pirea <radu.pirea@microchip.com>
Subject: [RFC PATCH] spi: at91-usart: at91_usart_spi_transfer_one() can be static
Date: Sun, 2 Sep 2018 05:23:50 +0800	[thread overview]
Message-ID: <20180901212350.GA89606@lkp-ib04> (raw)
In-Reply-To: <20180831134141.9335-6-radu.pirea@microchip.com>


Fixes: 5890bab41187 ("spi: at91-usart: add driver for at91-usart as spi")
Signed-off-by: kbuild test robot <fengguang.wu@intel.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);
 

  parent reply	other threads:[~2018-09-02  1:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-31 13:41 [RESEND PATCH v11 0/6] Driver for at91 usart in spi mode Radu Pirea
2018-08-31 13:41 ` [RESEND PATCH v11 1/6] MAINTAINERS: add at91 usart mfd driver Radu Pirea
2018-08-31 13:41 ` [RESEND PATCH v11 2/6] dt-bindings: add binding for atmel-usart in SPI mode Radu Pirea
2018-08-31 13:41 ` [RESEND PATCH v11 3/6] mfd: at91-usart: added mfd driver for usart Radu Pirea
2018-08-31 13:41 ` [RESEND PATCH v11 4/6] MAINTAINERS: add at91 usart spi driver Radu Pirea
2018-08-31 13:41 ` [RESEND PATCH v11 5/6] spi: at91-usart: add driver for at91-usart as spi Radu Pirea
2018-09-01 21:23   ` kbuild test robot
2018-09-01 21:23   ` kbuild test robot [this message]
2018-08-31 13:41 ` [RESEND PATCH v11 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd Radu Pirea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180901212350.GA89606@lkp-ib04 \
    --to=fengguang.wu@intel.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.com \
    --cc=kbuild-all@01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=nicolas.ferre@microchip.com \
    --cc=pirea.radu@gmail.com \
    --cc=radu.pirea@microchip.com \
    --cc=richard.genoud@gmail.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).