mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 15:34:55 +00:00
Revert "mem: spi-mem: add declaration for spi_mem_default_supports_op"
We have a duplicate declaration of spi_mem_default_supports_op() which was added twice, first with commitaf6266c1c2
("mem: spi-mem: add declaration for spi_mem_default_supports_op") for v2021.04, and again with commit2299076e34
("spi: spi-mem: export spi_mem_default_supports_op()") for v2021.07. The first commit is reverted here, because the second better matches the definition and has a better place in the declaration order. Note: Linux declares this in a different section of spi-mem.h which is disabled in U-Boot through `#ifndef __UBOOT__`. This reverts commitaf6266c1c2
. Signed-off-by: Alexander Dahl <ada@thorsis.com>
This commit is contained in:
parent
271983add3
commit
1d6d6c16b9
1 changed files with 0 additions and 3 deletions
|
@ -329,9 +329,6 @@ bool spi_mem_default_supports_op(struct spi_slave *slave,
|
|||
|
||||
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);
|
||||
|
||||
struct spi_mem_dirmap_desc *
|
||||
spi_mem_dirmap_create(struct spi_slave *mem,
|
||||
const struct spi_mem_dirmap_info *info);
|
||||
|
|
Loading…
Add table
Reference in a new issue