dwc_otg: Add compatibility string, constify

Support device tree of  Cyclone V SoC Development Kit.
This commit is contained in:
Sebastian Huber 2018-02-06 09:28:02 +01:00
parent bcaa8a28a2
commit b79c025a12

View File

@ -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 }
}; };