Index: sys/dev/dwc/if_dwc.c =================================================================== --- sys/dev/dwc/if_dwc.c +++ sys/dev/dwc/if_dwc.c @@ -71,10 +71,8 @@ #include #include -#ifdef EXT_RESOURCES #include #include -#endif #include "if_dwc_if.h" #include "gpio_if.h" @@ -1499,7 +1497,6 @@ return (0); } -#ifdef EXT_RESOURCES static int dwc_clock_init(device_t dev) { @@ -1536,7 +1533,6 @@ return (0); } -#endif static int dwc_probe(device_t dev) @@ -1603,10 +1599,8 @@ if (IF_DWC_INIT(dev) != 0) return (ENXIO); -#ifdef EXT_RESOURCES if (dwc_clock_init(dev) != 0) return (ENXIO); -#endif if (bus_alloc_resources(dev, dwc_spec, sc->res)) { device_printf(dev, "could not allocate resources\n");