[PATCH 0/2] Fix dependency loop in tusb6010

From: Matwey V. Kornilov
Date: Fri May 16 2014 - 11:23:03 EST


From: "Matwey V. Kornilov" <matwey@xxxxxxxxxx>
Subject: [PATCH 0/2] Fix dependency loop in tusb6010

With the following configure options, musb_hdrc and tusb6010 make dependency loop:

CONFIG_USB_MUSB_HDRC=m
CONFIG_USB_MUSB_TUSB6010=m
CONFIG_USB_TUSB_OMAP_DMA=y

tusb6010.ko provides function `tusb_get_revision` which is used by tusb6010_omap.o which is a part of musb_hdrc.ko

In its turn, tusb6010.ko uses much of functions provided by musb_hdrc.ko

The following patches are to solve the issue.

Signed-off-by: Matwey V. Kornilov <matwey@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/