]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
USB: EHCI: fix incorrect configuration test
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 22 Jan 2013 17:00:12 +0000 (12:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 17:21:23 +0000 (09:21 -0800)
commit9ce45ef86c4c861841ba68b24341dbd9d6834c98
tree0a88f45ebe7f1e5dc699eb14bf013b8e1313b815
parent9ec6e9d3cb5192b11074f8adcedc10a6d410528a
USB: EHCI: fix incorrect configuration test

This patch (as1641) fixes a minor bug in ehci-hcd left over from when
the Chipidea driver was converted to the "ehci-hcd is a library"
scheme.  The test for whether the Chipidea platform driver is active
should be IS_ENABLED(), not defined().

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hcd.c