From 7d8125bc3128984869fd1520d5387ef4d603720d Mon Sep 17 00:00:00 2001 From: Luiz Souza Date: Fri, 9 Mar 2018 04:06:50 -0300 Subject: Fix the build. (cherry picked from commit abb5881302576b23a102094ea2f11717a85ff148) --- sys/dev/etherswitch/e6000sw/e6000sw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/etherswitch/e6000sw/e6000sw.c b/sys/dev/etherswitch/e6000sw/e6000sw.c index 3ec9abd..dcf253b 100644 --- a/sys/dev/etherswitch/e6000sw/e6000sw.c +++ b/sys/dev/etherswitch/e6000sw/e6000sw.c @@ -842,6 +842,7 @@ static int e6000sw_readphy(device_t dev, int phy, int reg) { e6000sw_softc_t *sc; + uint32_t val; sc = device_get_softc(dev); if (!e6000sw_is_phyport(sc, phy) || reg >= E6000SW_NUM_PHY_REGS) { -- cgit v1.1