Re: linux-next: usb tree build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg KH wrote:
On Tue, Oct 14, 2008 at 02:59:17PM +1100, Stephen Rothwell wrote:
Hi Greg,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/usb/Kconfig:63:error: found recursive dependency: USB -> USB_OHCI_HCD -> I2C -> MCU_MPC8349EMITX -> ARCH_REQUIRE_GPIOLIB -> GPIOLIB -> MFD_TC6393XB -> USB_ARCH_HAS_OHCI -> USB_ARCH_HAS_HCD -> MOUSE_APPLETOUCH -> USB
make[2]: *** [ppc64_defconfig] Error 1
make[1]: *** [ppc64_defconfig] Error 2
make: *** [sub-make] Error 2

Direct cause is commit 51f54ddba226b3b33f55d1be058e809fcfdc30c4 ("USB:
ohci: add support for tmio-ohci cell") which I have reverted.

Dmitry, I can reproduce this with this patch on top of Linus's tree
right now.  Care to fix it up?

I'll look into it in a few hours. However if I get it correct, I don't know how to solve it, strictly speaking. Indeed, it adds a possibility
to have the OHCI if TC6393XB driver is loaded, thus adding dependancy
USB_ARCH_HAS_OHCI->MFD_TC6393XB closing this dependancy circle. In reality it isn't a problem, since e.g. MCU_MPC8349EMITX is PPC-only (if it isn't, it's a bug) and on the other hand MFD_TC6393XB is arm-only thing which correctly depends on ARM.

--
With best wishes
Dmitry

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux