]> git.baikalelectronics.ru Git - kernel.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)
commit8401973a52d306c9a0f2b00f6c55faa197f39180
tree0a88f45ebe7f1e5dc699eb14bf013b8e1313b815
parent0e881c2d61b26c1f6aeeba722dfe140ed6ef4977
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