RE: [PATCH] phy: rcar-gen3-usb2: add dependency on USB

From: Yoshihiro Shimoda
Date: Fri Dec 15 2017 - 05:27:19 EST


Hi,

> -----Original Message-----
> From: Vladimir Murzin, Sent: Friday, December 15, 2017 7:20 PM
>
> Following error showed up:
>
> drivers/phy/renesas/phy-rcar-gen3-usb2.o: In function `rcar_gen3_phy_usb2_probe':
> /work/tools/linux/drivers/phy/renesas/phy-rcar-gen3-usb2.c:444: undefined reference to `of_usb_get_dr_mode_by_phy'
> Makefile:993: recipe for target 'vmlinux' failed
> make: *** [vmlinux] Error 1
>
> with CONFIG_USB_SUPPORT=n
>
> Add dependency on USB_SUPPORT and select USB_COMMON to make sure that
> of_usb_get_dr_mode_by_phy() is available.
>
> Signed-off-by: Vladimir Murzin <vladimir.murzin@xxxxxxx>

Thank you for the patch! However, Arnd already sent such a patch before.

https://lkml.org/lkml/2017/11/2/373

The latest Linux-phy.git doesn't apply it yet though...

Best regards,
Yoshihiro Shimoda