Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107404321
D33820.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
812 B
Referenced Files
None
Subscribers
None
D33820.diff
View Options
diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -71,10 +71,8 @@
#include <dev/ofw/ofw_bus_subr.h>
#include <dev/mii/mii_fdt.h>
-#ifdef EXT_RESOURCES
#include <dev/extres/clk/clk.h>
#include <dev/extres/hwreset/hwreset.h>
-#endif
#include "if_dwc_if.h"
#include "gpio_if.h"
@@ -1497,7 +1495,6 @@
return (0);
}
-#ifdef EXT_RESOURCES
static int
dwc_clock_init(device_t dev)
{
@@ -1534,7 +1531,6 @@
return (0);
}
-#endif
static int
dwc_probe(device_t dev)
@@ -1601,10 +1597,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");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 4:52 PM (6 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15797118
Default Alt Text
D33820.diff (812 B)
Attached To
Mode
D33820: dwc: Make ext_resources non-optional
Attached
Detach File
Event Timeline
Log In to Comment