Skip to content

Commit

Permalink
staging: dwc2: set the driver name to "dwc2"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthijs Kooijman authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent ddd4bd3 commit 050232a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/dwc2/hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/dwc2/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 050232a

Please sign in to comment.