mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 11:55:36 +08:00
dwc_otg: Add compatibility string, constify
Support device tree of Cyclone V SoC Development Kit.
This commit is contained in:
@@ -59,9 +59,10 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
static device_probe_t dwc_otg_probe;
|
static device_probe_t dwc_otg_probe;
|
||||||
|
|
||||||
static struct ofw_compat_data compat_data[] = {
|
static const struct ofw_compat_data compat_data[] = {
|
||||||
{ "synopsys,designware-hs-otg2", 1 },
|
{ "synopsys,designware-hs-otg2", 1 },
|
||||||
{ "snps,dwc2", 1 },
|
{ "snps,dwc2", 1 },
|
||||||
|
{ "snps,dwc-otg", 1 },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user