Re: [PATCH 3/8] usb/acpi: Bind ACPI node to USB port, not usb_device.

2012-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 15, 2012 at 10:29:50AM +0800, Lan Tianyu wrote: On 2012年08月15日 08:28, Greg Kroah-Hartman wrote: On Tue, Jul 17, 2012 at 03:28:43PM -0700, Sarah Sharp wrote: --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -1,5 +1,9 @@ #include linux/pm.h +#ifdef

Re: [PATCH 3/8] usb/acpi: Bind ACPI node to USB port, not usb_device.

2012-08-15 Thread Lan Tianyu
于 2012/8/15 21:32, Greg Kroah-Hartman 写道: On Wed, Aug 15, 2012 at 10:29:50AM +0800, Lan Tianyu wrote: On 2012年08月15日 08:28, Greg Kroah-Hartman wrote: On Tue, Jul 17, 2012 at 03:28:43PM -0700, Sarah Sharp wrote: --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -1,5 +1,9 @@

Re: [PATCH 3/8] usb/acpi: Bind ACPI node to USB port, not usb_device.

2012-08-14 Thread Greg Kroah-Hartman
On Tue, Jul 17, 2012 at 03:28:43PM -0700, Sarah Sharp wrote: --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -1,5 +1,9 @@ #include linux/pm.h +#ifdef CONFIG_ACPI +#include linux/acpi.h +#endif Why is this #ifdef in here? greg k-h -- To unsubscribe from this list: send the

Re: [PATCH 3/8] usb/acpi: Bind ACPI node to USB port, not usb_device.

2012-08-14 Thread Lan Tianyu
On 2012年08月15日 08:28, Greg Kroah-Hartman wrote: On Tue, Jul 17, 2012 at 03:28:43PM -0700, Sarah Sharp wrote: --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -1,5 +1,9 @@ #include linux/pm.h +#ifdef CONFIG_ACPI +#include linux/acpi.h +#endif Why is this #ifdef in here?

[PATCH 3/8] usb/acpi: Bind ACPI node to USB port, not usb_device.

2012-07-17 Thread Sarah Sharp
From: Lan Tianyu tianyu@intel.com In the ACPI DSDT table, only usb root hub and usb ports are ACPI device nodes. Originally, we bound the usb port's ACPI node to the usb device attached to the port. However, we want to access those ACPI port methods when the port is empty, and there's no