From f0a4eaa7c2866bc79c59a78bc6e9f6651f701df0 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Wed, 2 Mar 2016 09:37:28 -0800 Subject: [PATCH] net: xilinx_axi: Declare another missing variable Since commit "net: xilinx_axi: Clear Isolate bit if found set suring phy" (sha1: 39579875c) u-boot fails to build as the temp variable is never declared. This patch declares the variable in the setup_phy() function. Signed-off-by: Alistair Francis Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index ea14cb1d959..5de06ef01e8 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -264,6 +264,7 @@ static int axiemac_phy_init(struct udevice *dev) /* Setting axi emac and phy to proper setting */ static int setup_phy(struct udevice *dev) { + u16 temp; u32 speed, emmc_reg, ret; struct axidma_priv *priv = dev_get_priv(dev); struct axi_regs *regs = priv->iobase; -- 2.47.3