RE: [PATCH] phy: rcar: fix gen3-usb2 build error

2017-12-19 Thread Yoshihiro Shimoda
Hi Wang-san, > From: Wang Dongsheng, Sent: Tuesday, December 19, 2017 8:37 PM > > of_usb_get_dr_mode_by_phy is implemented in usb/common/common.c. > So the PHY_RCAR_GEN3_USB2 must depend on USB_SUPPORT/USB_COMMON. > > LD vmlinux.o > MODPOST vmlinux.o > .../phy-rcar-gen3-usb2.o: In

RE: [PATCH] phy: rcar: fix gen3-usb2 build error

2017-12-19 Thread Yoshihiro Shimoda
Hi Wang-san, > From: Wang Dongsheng, Sent: Tuesday, December 19, 2017 8:37 PM > > of_usb_get_dr_mode_by_phy is implemented in usb/common/common.c. > So the PHY_RCAR_GEN3_USB2 must depend on USB_SUPPORT/USB_COMMON. > > LD vmlinux.o > MODPOST vmlinux.o > .../phy-rcar-gen3-usb2.o: In

[PATCH] phy: rcar: fix gen3-usb2 build error

2017-12-19 Thread Wang Dongsheng
of_usb_get_dr_mode_by_phy is implemented in usb/common/common.c. So the PHY_RCAR_GEN3_USB2 must depend on USB_SUPPORT/USB_COMMON. LD vmlinux.o MODPOST vmlinux.o .../phy-rcar-gen3-usb2.o: In function `rcar_gen3_phy_usb2_probe': ...: undefined reference to `of_usb_get_dr_mode_by_phy' make:

[PATCH] phy: rcar: fix gen3-usb2 build error

2017-12-19 Thread Wang Dongsheng
of_usb_get_dr_mode_by_phy is implemented in usb/common/common.c. So the PHY_RCAR_GEN3_USB2 must depend on USB_SUPPORT/USB_COMMON. LD vmlinux.o MODPOST vmlinux.o .../phy-rcar-gen3-usb2.o: In function `rcar_gen3_phy_usb2_probe': ...: undefined reference to `of_usb_get_dr_mode_by_phy' make: