From: Roland Stigge Date: Thu, 23 Aug 2012 11:05:34 +0000 (+0200) Subject: usb: ohci: Fix Kconfig dependency on USB_ISP1301 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=952230d774bb2ff0682d0b8108091ffa7c546f8e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb: ohci: Fix Kconfig dependency on USB_ISP1301 With "select USB_ISP1301 ...", it could happen that I2C isn't selected although USB_ISP1301 depends on it. Fixing with "depends on ..." and emulating the condition via "|| !()". Signed-off-by: Roland Stigge Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index bef820a225e2..13cd6d558eba 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -292,7 +292,7 @@ config USB_OHCI_HCD depends on USB && USB_ARCH_HAS_OHCI select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 select USB_OTG_UTILS if ARCH_OMAP - select USB_ISP1301 if ARCH_LPC32XX || ARCH_PNX4008 + depends on USB_ISP1301 || !(ARCH_LPC32XX || ARCH_PNX4008) ---help--- The Open Host Controller Interface (OHCI) is a standard for accessing USB 1.1 host controller hardware. It does more in hardware than Intel's