diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-02-06 09:28:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-02-06 09:56:35 +0100 |
commit | b79c025a1232f93323670bf2f508d0f1d2c23609 (patch) | |
tree | f8710740a9769395a069f7475c6bb2cfd23d52dd /freebsd/sys/dev/usb | |
parent | dw_mmc: Properly init/reset DMA (diff) | |
download | rtems-libbsd-b79c025a1232f93323670bf2f508d0f1d2c23609.tar.bz2 |
dwc_otg: Add compatibility string, constify
Support device tree of Cyclone V SoC Development Kit.
Diffstat (limited to 'freebsd/sys/dev/usb')
-rw-r--r-- | freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 } }; |