Skip to content

Commit

Permalink
usb: dwc3: pci: passing forward the ACPI companion
Browse files Browse the repository at this point in the history
Sharing the ACPI companion with dwc3 core so it has access
to the properties defined for DWC3 in ACPI tables.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Heikki Krogerus authored and Felipe Balbi committed Sep 27, 2015
1 parent 3d12891 commit 9caeb06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/dwc3/dwc3-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ static int dwc3_pci_probe(struct pci_dev *pci,
goto err;

dwc3->dev.parent = dev;
ACPI_COMPANION_SET(&dwc3->dev, ACPI_COMPANION(dev));

ret = platform_device_add(dwc3);
if (ret) {
Expand Down

0 comments on commit 9caeb06

Please sign in to comment.