diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-01-31 10:02:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 14:49:58 -0800 |
commit | 1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f (patch) | |
tree | da25ea484bed1ce0f9ff3e2d2f485ca5980a8864 /drivers/usb/host/uhci-q.c | |
parent | dbf4fcad62467ce1bd6966292b6850fc7a210e0b (diff) | |
download | op-kernel-dev-1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f.zip op-kernel-dev-1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f.tar.gz |
[PATCH] uhci-hcd: fix mistaken usage of list_prepare_entry
A recent update to the uhci-hcd driver invoked the list_prepare_entry
macro incorrectly. This patch (as646) corrects it.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-q.c')
-rw-r--r-- | drivers/usb/host/uhci-q.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c index 0c1b120..5d2f957 100644 --- a/drivers/usb/host/uhci-q.c +++ b/drivers/usb/host/uhci-q.c @@ -259,7 +259,7 @@ static void uhci_fixup_toggles(struct uhci_qh *qh, int skip_first) /* Fix up the toggle for the URBs in the queue. Normally this * loop won't run more than once: When an error or short transfer * occurs, the queue usually gets emptied. */ - list_prepare_entry(urbp, &qh->queue, node); + urbp = list_prepare_entry(urbp, &qh->queue, node); list_for_each_entry_continue(urbp, &qh->queue, node) { /* If the first TD has the right toggle value, we don't |