Skip to content

Commit 9ce45ef

Browse files
AlanSterngregkh
authored andcommitted
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>
1 parent 9ec6e9d commit 9ce45ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/host/ehci-hcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ MODULE_LICENSE ("GPL");
13481348

13491349
#if !IS_ENABLED(CONFIG_USB_EHCI_PCI) && \
13501350
!IS_ENABLED(CONFIG_USB_EHCI_HCD_PLATFORM) && \
1351-
!defined(CONFIG_USB_CHIPIDEA_HOST) && \
1351+
!IS_ENABLED(CONFIG_USB_CHIPIDEA_HOST) && \
13521352
!defined(PLATFORM_DRIVER) && \
13531353
!defined(PS3_SYSTEM_BUS_DRIVER) && \
13541354
!defined(OF_PLATFORM_DRIVER) && \

0 commit comments

Comments
 (0)