From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Anderson Date: Sun, 31 Jan 2021 19:34:26 -0500 Subject: [PATCH 04/14] mtd: spi-mem: Export spi_mem_default_supports_op In-Reply-To: <20210201003436.1180667-1-seanga2@gmail.com> References: <20210201003436.1180667-1-seanga2@gmail.com> Message-ID: <20210201003436.1180667-5-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 is useful for extending the default functionality. Signed-off-by: Sean Anderson --- include/spi-mem.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/spi-mem.h b/include/spi-mem.h index ca0f55c8fd..1dd556b6cf 100644 --- a/include/spi-mem.h +++ b/include/spi-mem.h @@ -236,6 +236,9 @@ spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr, int spi_mem_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op); +bool spi_mem_default_supports_op(struct spi_slave *slave, + const struct spi_mem_op *op); + bool spi_mem_supports_op(struct spi_slave *slave, const struct spi_mem_op *op); int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op); -- 2.29.2