mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 19:34:35 +00:00
mem: spi-mem: add declaration for spi_mem_default_supports_op
spi_mem_default_supports_op is used internally by controller drivers to verify operation semantics are correct. It is used internally inside spi-mem but has not (in U-Boot) been declared in spi-mem.h for external use. Signed-off-by: Mathew McBride <matt@traverse.com.au> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
37bfd9cb50
commit
af6266c1c2
1 changed files with 3 additions and 0 deletions
|
@ -240,6 +240,9 @@ 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);
|
int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op);
|
||||||
|
|
||||||
|
bool spi_mem_default_supports_op(struct spi_slave *mem,
|
||||||
|
const struct spi_mem_op *op);
|
||||||
|
|
||||||
#ifndef __UBOOT__
|
#ifndef __UBOOT__
|
||||||
int spi_mem_driver_register_with_owner(struct spi_mem_driver *drv,
|
int spi_mem_driver_register_with_owner(struct spi_mem_driver *drv,
|
||||||
struct module *owner);
|
struct module *owner);
|
||||||
|
|
Loading…
Add table
Reference in a new issue