From b79c025a1232f93323670bf2f508d0f1d2c23609 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Feb 2018 09:28:02 +0100 Subject: dwc_otg: Add compatibility string, constify Support device tree of Cyclone V SoC Development Kit. --- freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freebsd/sys/dev/usb/controller/dwc_otg_fdt.c b/freebsd/sys/dev/usb/controller/dwc_otg_fdt.c index d08d233c..4acbfa4c 100644 --- a/freebsd/sys/dev/usb/controller/dwc_otg_fdt.c +++ b/freebsd/sys/dev/usb/controller/dwc_otg_fdt.c @@ -59,9 +59,10 @@ __FBSDID("$FreeBSD$"); 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 }, { "snps,dwc2", 1 }, + { "snps,dwc-otg", 1 }, { NULL, 0 } }; -- cgit v1.2.3