diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2015-09-21 08:14:36 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-09-27 15:54:31 (GMT) |
commit | 9caeb06ebd4687bc40a67d94facabb2d31c702ce (patch) | |
tree | 892143709ed64ee1ef1ef019750418f5f378bb70 /drivers/usb | |
parent | 3d128919b7e514f0e489ab863c572a1e7032276a (diff) | |
download | linux-9caeb06ebd4687bc40a67d94facabb2d31c702ce.tar.xz |
usb: dwc3: pci: passing forward the ACPI companion
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/dwc3-pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index f626179..89eb364 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c @@ -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) { |