Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: omap-usb: Depend on COMMON_CLK to fix compile tests

The MFD_OMAP_USB_HOST uses Common Clock Framework thus it cannot be
built on platforms without it (e.g. compile test on MIPS with LANTIQ):

mips-linux-ld: drivers/mfd/omap-usb-host.o: in function `usbhs_omap_probe':
omap-usb-host.c:(.text+0x940): undefined reference to `clk_set_parent'

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
7a69a6f6 f31cc6af

+1
+1
drivers/mfd/Kconfig
··· 1443 1443 config MFD_OMAP_USB_HOST 1444 1444 bool "TI OMAP USBHS core and TLL driver" 1445 1445 depends on USB_EHCI_HCD_OMAP || USB_OHCI_HCD_OMAP3 1446 + depends on COMMON_CLK 1446 1447 default y 1447 1448 help 1448 1449 This is the core driver for the OAMP EHCI and OHCI drivers.