From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 3/4] spi: Remove some instances of EXPORT_SYMBOL_GPL
Date: Fri, 7 Aug 2020 13:13:33 -0400 [thread overview]
Message-ID: <20200807171334.307491-4-seanga2@gmail.com> (raw)
In-Reply-To: <20200807171334.307491-1-seanga2@gmail.com>
This evaluates to nothing in U-Boot, and this file is not synced with
Linux.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
---
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 <common.h>
#include <dm.h>
#include <errno.h>
+#include <log.h>
#include <malloc.h>
#include <spi.h>
#include <spi.h>
#include <spi-mem.h>
-#include <dm/device_compat.h>
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
next prev parent reply other threads:[~2020-08-07 17:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-07 17:13 [PATCH v2 0/4] Misc fixes/cleanup Sean Anderson
2020-08-07 17:13 ` [PATCH v2 1/4] doc: Fix typo in FIT documentation Sean Anderson
2020-08-07 17:13 ` [PATCH v2 2/4] spi: Remove uses of #ifndef __U_BOOT__ from spi-mem.c Sean Anderson
2020-10-23 18:26 ` Jagan Teki
2020-10-25 19:21 ` Sean Anderson
2020-10-26 10:24 ` Wolfgang Denk
2020-08-07 17:13 ` Sean Anderson [this message]
2020-08-07 17:13 ` [PATCH v2 4/4] spi: Fix typo in header Sean Anderson
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=20200807171334.307491-4-seanga2@gmail.com \
--to=seanga2@gmail.com \
--cc=u-boot@lists.denx.de \
/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