Revert "mem: spi-mem: add declaration for spi_mem_default_supports_op"
authorAlexander Dahl <ada@thorsis.com>
Wed, 15 Jan 2025 16:16:21 +0000 (17:16 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 15:52:22 +0000 (09:52 -0600)
commit1d6d6c16b9b1e3442065448aa6215ce1316dc476
tree7cd41912d40fe2031c08cffd7cc1d28ff1006ecf
parent271983add337595e0d462f2ab41f0dc81e7c069b
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 commit af6266c1c27a ("mem: spi-mem: add
declaration for spi_mem_default_supports_op") for v2021.04, and again
with commit 2299076e34f8 ("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 commit af6266c1c27add8beac7f3365c00b3525a9012c4.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
include/spi-mem.h