svn commit: r354573 - head/sys/dev/usb/controller
Emmanuel Vadot
manu at FreeBSD.org
Sat Nov 9 22:25:46 UTC 2019
Author: manu
Date: Sat Nov 9 22:25:45 2019
New Revision: 354573
URL: https://svnweb.freebsd.org/changeset/base/354573
Log:
generic_ehci_fdt: Fix compile when EXT_RESOURCES isn't present
Modified:
head/sys/dev/usb/controller/generic_ehci_fdt.c
Modified: head/sys/dev/usb/controller/generic_ehci_fdt.c
==============================================================================
--- head/sys/dev/usb/controller/generic_ehci_fdt.c Sat Nov 9 21:59:29 2019 (r354572)
+++ head/sys/dev/usb/controller/generic_ehci_fdt.c Sat Nov 9 22:25:45 2019 (r354573)
@@ -114,6 +114,7 @@ generic_ehci_fdt_probe(device_t self)
static int
generic_ehci_fdt_attach(device_t dev)
{
+ int err;
#ifdef EXT_RESOURCES
struct generic_ehci_fdt_softc *sc;
struct clk_list *clkp;
@@ -122,7 +123,7 @@ generic_ehci_fdt_attach(device_t dev)
hwreset_t rst;
struct phy_list *phyp;
phy_t phy;
- int err, off;
+ int off;
sc = device_get_softc(dev);
More information about the svn-src-head
mailing list