mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
spi: zynqmp_qspi: Mark zynqmp_qspi_set_tapdelay() as static
Fix the following sparse and compile time warning triggered with W=1: drivers/spi/zynqmp_gqspi.c:286:6: warning: no previous prototype for 'zynqmp_qspi_set_tapdelay' [-Wmissing-prototypes] Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20221004053730.25602-1-venkatesh.abbarapu@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
c9e28930e3
commit
b451330df2
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ static void zynqmp_qspi_chipselect(struct zynqmp_qspi_priv *priv, int is_on)
|
|||
zynqmp_qspi_fill_gen_fifo(priv, gqspi_fifo_reg);
|
||||
}
|
||||
|
||||
void zynqmp_qspi_set_tapdelay(struct udevice *bus, u32 baudrateval)
|
||||
static void zynqmp_qspi_set_tapdelay(struct udevice *bus, u32 baudrateval)
|
||||
{
|
||||
struct zynqmp_qspi_plat *plat = dev_get_plat(bus);
|
||||
struct zynqmp_qspi_priv *priv = dev_get_priv(bus);
|
||||
|
|
Loading…
Add table
Reference in a new issue