x86: prepare for kernels 2.6.33 & 2.6.34
[openwrt.git] / target / linux / adm5120 / patches-2.6.33 / 902-adm5120-usb-remove-dev-power-power_state.patch
1 --- a/drivers/usb/host/adm5120-dbg.c
2 +++ b/drivers/usb/host/adm5120-dbg.c
3 @@ -642,7 +642,7 @@ static ssize_t fill_registers_buffer(str
4 hcd->product_desc,
5 hcd_name);
6
7 - if (bus->controller->power.power_state.event) {
8 + if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags)) {
9 size -= scnprintf(next, size,
10 "SUSPENDED (no register access)\n");
11 goto done;
This page took 0.041854 seconds and 5 git commands to generate.