generic_ehci_fdt: Fix compile when EXT_RESOURCES isn't present
This commit is contained in:
parent
b3bc6e0c4b
commit
f794d42685
@ -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…
x
Reference in New Issue
Block a user