]> git.baikalelectronics.ru Git - uboot.git/commit
dm: phy: add missing #ifdef CONFIG_PHY
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 24 Jul 2017 15:07:02 +0000 (17:07 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:41 +0000 (23:34 +0200)
commit747018fcd226e071cdbd8d03d602aa2875cb46e2
tree142ea9a1b71f15a782af92d9383f07359ab4750c
parent4dbfdd41a0cb349433f53c5946853ede05fc7e37
dm: phy: add missing #ifdef CONFIG_PHY

To avoid compilation breakage on platform that doesn't
support DM PHY but uses xhci-dwc3 driver, add the missing
CONFIG_PHY flag.

Introduced by patch :
84e53877 "usb: host: xhci-dwc3: Add generic PHY support"

Cc: Ran Wang <ran.wang_1@nxp.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reported-by: Ran Wang <ran.wang_1@nxp.com>
include/generic-phy.h