mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
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>
This commit is contained in:
parent
9ec6e9d3cb
commit
9ce45ef86c
1 changed files with 1 additions and 1 deletions
|
@ -1348,7 +1348,7 @@ MODULE_LICENSE ("GPL");
|
||||||
|
|
||||||
#if !IS_ENABLED(CONFIG_USB_EHCI_PCI) && \
|
#if !IS_ENABLED(CONFIG_USB_EHCI_PCI) && \
|
||||||
!IS_ENABLED(CONFIG_USB_EHCI_HCD_PLATFORM) && \
|
!IS_ENABLED(CONFIG_USB_EHCI_HCD_PLATFORM) && \
|
||||||
!defined(CONFIG_USB_CHIPIDEA_HOST) && \
|
!IS_ENABLED(CONFIG_USB_CHIPIDEA_HOST) && \
|
||||||
!defined(PLATFORM_DRIVER) && \
|
!defined(PLATFORM_DRIVER) && \
|
||||||
!defined(PS3_SYSTEM_BUS_DRIVER) && \
|
!defined(PS3_SYSTEM_BUS_DRIVER) && \
|
||||||
!defined(OF_PLATFORM_DRIVER) && \
|
!defined(OF_PLATFORM_DRIVER) && \
|
||||||
|
|
Loading…
Reference in a new issue