mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
generic_ehci_fdt: Fix compile when EXT_RESOURCES isn't present
This commit is contained in:
parent
1802a6b5b8
commit
306e46eb1e
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue