mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
spi: zynq_qspi: Add missing prototype for update_stripe
Add missing prototype to fix the sparse warning, warning: no previous prototype for 'update_stripe' [-Wmissing-prototypes]. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20241016044402.18052-1-venkatesh.abbarapu@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
committed by
Michal Simek
parent
93590a08e3
commit
874ea27392
@@ -734,7 +734,7 @@ static int zynq_qspi_set_mode(struct udevice *bus, uint mode)
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool update_stripe(const struct spi_mem_op *op)
|
||||
static bool update_stripe(const struct spi_mem_op *op)
|
||||
{
|
||||
if (op->cmd.opcode == SPINOR_OP_BE_4K ||
|
||||
op->cmd.opcode == SPINOR_OP_CHIP_ERASE ||
|
||||
|
||||
Reference in New Issue
Block a user