summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorMatt Porter <mporter@linaro.org>2013-12-19 15:23:05 +0100
committerFelipe Balbi <balbi@ti.com>2013-12-23 21:30:14 +0100
commit0d33d825632737c8d3353c80c8701252682bcb03 (patch)
tree8792cdcc407e834d78e1dd03b2982a26489ec3aa /drivers/usb/gadget
parentusb: gadget: s3c-hsotg: enable build for other platforms (diff)
downloadlinux-0d33d825632737c8d3353c80c8701252682bcb03.tar.xz
linux-0d33d825632737c8d3353c80c8701252682bcb03.zip
usb: gadget: s3c-hsotg: add snps,dwc2 compatible string
Enable support for the dwc2 binding. Signed-off-by: Matt Porter <mporter@linaro.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/s3c-hsotg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 8917ec3c336e..50b57b21d130 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -3734,6 +3734,7 @@ static int s3c_hsotg_remove(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id s3c_hsotg_of_ids[] = {
{ .compatible = "samsung,s3c6400-hsotg", },
+ { .compatible = "snps,dwc2", },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, s3c_hsotg_of_ids);