diff options
author | Luiz Souza <luiz@netgate.com> | 2018-03-09 04:06:50 -0300 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-03-08 22:03:27 -0600 |
commit | 7d8125bc3128984869fd1520d5387ef4d603720d (patch) | |
tree | 7426bef084a39f24954a90cc16dd42e155b1e899 | |
parent | 303bd062b084943267b4499e4122a360cbb0a48b (diff) | |
download | FreeBSD-src-7d8125bc3128984869fd1520d5387ef4d603720d.zip FreeBSD-src-7d8125bc3128984869fd1520d5387ef4d603720d.tar.gz |
Fix the build.
(cherry picked from commit abb5881302576b23a102094ea2f11717a85ff148)
-rw-r--r-- | sys/dev/etherswitch/e6000sw/e6000sw.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |