On Tue, Sep 25, 2012 at 1:35 AM, Lan Tianyu <[email protected]> wrote:
> 2012/9/25 Yinghai Lu <[email protected]>:
>> The struct member is not used anymore, remove it.
>>
>> Signed-off-by: Yinghai Lu <[email protected]>
>> Cc: Greg Kroah-Hartman <[email protected]>
>> Cc: [email protected]
>> ---
>> drivers/usb/core/usb-acpi.c | 1 -
>> 1 files changed, 0 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/usb/core/usb-acpi.c b/drivers/usb/core/usb-acpi.c
>> index 8947b20..a6ea613 100644
>> --- a/drivers/usb/core/usb-acpi.c
>> +++ b/drivers/usb/core/usb-acpi.c
>> @@ -102,7 +102,6 @@ static int usb_acpi_find_device(struct device *dev,
>> acpi_handle *handle)
>>
>> static struct acpi_bus_type usb_acpi_bus = {
>> .bus = &usb_bus_type,
>> - .find_bridge = NULL,
>> .find_device = usb_acpi_find_device,
>> };
>>
> HI Yinghai:
> This member has been populated in the usb-next tree.
>
> http://git.kernel.org/?p=linux/kernel/git/gregkh/usb.git;a=commit;h=d557542421da643358201664903e67fd01dfca1a
Thanks for pointing that out.
Looks that following change is not needed in that commit.
@@ -102,7 +139,7 @@ static int usb_acpi_find_device(struct device
*dev, acpi_handle *handle)
static struct acpi_bus_type usb_acpi_bus = {
.bus = &usb_bus_type,
- .find_bridge = NULL,
+ .find_bridge = usb_acpi_find_device,
.find_device = usb_acpi_find_device,
};
Can you double check if it will work without that line change?
-Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html