Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755789AbbHYLFr (ORCPT ); Tue, 25 Aug 2015 07:05:47 -0400 Received: from mga01.intel.com ([192.55.52.88]:12828 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755736AbbHYLF2 (ORCPT ); Tue, 25 Aug 2015 07:05:28 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,745,1432623600"; d="scan'208";a="754968670" From: Heikki Krogerus To: Felipe Balbi Cc: David Cohen , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Huang Rui Subject: [PATCH 5/5] usb: dwc3: pci: passing forward the ACPI companion Date: Tue, 25 Aug 2015 14:04:35 +0300 Message-Id: <1440500675-55872-6-git-send-email-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1440500675-55872-1-git-send-email-heikki.krogerus@linux.intel.com> References: <1440500675-55872-1-git-send-email-heikki.krogerus@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 28 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 --- drivers/usb/dwc3/dwc3-pci.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/