summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2010-01-27 15:09:36 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-02-17 00:11:07 +0100
commit4c743d0ae60462e91465483dd87f4458d71af550 (patch)
treee0df7d620cb43f7bdb1181dd02dfb3159d4a8b47 /kernel
parentkfifo: Make kfifo_initialized work after kfifo_free (diff)
downloadlinux-4c743d0ae60462e91465483dd87f4458d71af550.tar.xz
linux-4c743d0ae60462e91465483dd87f4458d71af550.zip
USB: FHCI: Fix build after kfifo rework
After kfifo rework FHCI fails to build: CC drivers/usb/host/fhci-tds.o drivers/usb/host/fhci-tds.c: In function 'fhci_ep0_free': drivers/usb/host/fhci-tds.c:108: error: used struct type value where scalar is required drivers/usb/host/fhci-tds.c:118: error: used struct type value where scalar is required drivers/usb/host/fhci-tds.c:128: error: used struct type value where scalar is required This is because kfifos are no longer pointers in the ep struct. So, instead of checking the pointers, we should now check if kfifo is initialized. Reported-by: Josh Boyer <jwboyer@gmail.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by: Stefani Seibold <stefani@seibold.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions