summaryrefslogtreecommitdiff
path: root/drivers/staging/dwc2
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-04-11 18:43:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-11 13:27:39 -0700
commit050232a73c0d054750a9da92e071e26d4c571f12 (patch)
treecb24ee6e8b33b674972ae5122c5aabd5236d8691 /drivers/staging/dwc2
parentddd4bd3e54d788d069ce022c4b93b069785e775a (diff)
staging: dwc2: set the driver name to "dwc2"
Previously, it was "dwc_otg", but this does not correspond to the directory name and might cause confusion with the old out-of-tree dwc_otg driver of which many versions circulate. Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dwc2')
-rw-r--r--drivers/staging/dwc2/hcd.c2
-rw-r--r--drivers/staging/dwc2/pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/dwc2/hcd.c b/drivers/staging/dwc2/hcd.c
index f68d8cc408fa..4d5f34e72edb 100644
--- a/drivers/staging/dwc2/hcd.c
+++ b/drivers/staging/dwc2/hcd.c
@@ -2830,7 +2830,7 @@ int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq,
goto error2;
/* Create new workqueue and init work */
- hsotg->wq_otg = create_singlethread_workqueue("dwc_otg");
+ hsotg->wq_otg = create_singlethread_workqueue("dwc2");
if (!hsotg->wq_otg) {
dev_err(hsotg->dev, "Failed to create workqueue\n");
goto error2;
diff --git a/drivers/staging/dwc2/pci.c b/drivers/staging/dwc2/pci.c
index 8d9a9023c29a..69c65eb8683f 100644
--- a/drivers/staging/dwc2/pci.c
+++ b/drivers/staging/dwc2/pci.c
@@ -57,7 +57,7 @@
#define PCI_VENDOR_ID_SYNOPSYS 0x16c3
#define PCI_PRODUCT_ID_HAPS_HSOTG 0xabc0
-static const char dwc2_driver_name[] = "dwc_otg";
+static const char dwc2_driver_name[] = "dwc2";
static struct dwc2_core_params dwc2_module_params = {
.otg_cap = -1,