From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Anderson Date: Fri, 7 Aug 2020 13:13:33 -0400 Subject: [PATCH v2 3/4] spi: Remove some instances of EXPORT_SYMBOL_GPL In-Reply-To: <20200807171334.307491-1-seanga2@gmail.com> References: <20200807171334.307491-1-seanga2@gmail.com> Message-ID: <20200807171334.307491-4-seanga2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This evaluates to nothing in U-Boot, and this file is not synced with Linux. Signed-off-by: Sean Anderson --- Changes in v2: - New drivers/spi/spi-mem.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/spi/spi-mem.c b/drivers/spi/spi-mem.c index d7209837d0..29be9645eb 100644 --- a/drivers/spi/spi-mem.c +++ b/drivers/spi/spi-mem.c @@ -9,11 +9,11 @@ #include #include #include +#include #include #include #include #include -#include static int spi_check_buswidth_req(struct spi_slave *slave, u8 buswidth, bool tx) { @@ -71,7 +71,6 @@ bool spi_mem_default_supports_op(struct spi_slave *slave, return true; } -EXPORT_SYMBOL_GPL(spi_mem_default_supports_op); /** * spi_mem_supports_op() - Check if a memory device and the controller it is @@ -99,7 +98,6 @@ bool spi_mem_supports_op(struct spi_slave *slave, return spi_mem_default_supports_op(slave, op); } -EXPORT_SYMBOL_GPL(spi_mem_supports_op); /** * spi_mem_exec_op() - Execute a memory operation @@ -213,7 +211,6 @@ int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op) return 0; } -EXPORT_SYMBOL_GPL(spi_mem_exec_op); /** * spi_mem_adjust_op_size() - Adjust the data size of a SPI mem operation to @@ -261,4 +258,3 @@ int spi_mem_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op) return 0; } -EXPORT_SYMBOL_GPL(spi_mem_adjust_op_size); -- 2.28.0