From: Arnd Bergmann Date: Wed, 18 Feb 2015 21:07:07 +0000 (+0100) Subject: usb: renesas: fix extcon dependency X-Git-Tag: omap-for-v4.1/wl12xx-dt~45^2~10^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eed97ef39a30e3301c5a7f0c94db63130bbe785b;p=pandora-kernel.git usb: renesas: fix extcon dependency The renesas usbhs driver calls extcon_get_edev_by_phandle(), which is defined in drivers/extcon/extcon-class.c, and that can be a loadable module. If the extcon-class support is disabled, usbhs will work correctly for all devices that do not need extcon. However, if extcon-class is a loadable module, and usbhs is built-in, the kernel fails to link. In order to solve that, we need a Kconfig dependency that allows extcon to be disabled but does not allow usbhs built-in if extcon is a module. Signed-off-by: Arnd Bergmann Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed