Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1586403

[PATCH -next] phy: phy-qcom-usb-hs needs EXTCON

From Randy Dunlap <rdunlap@infradead.org>
Newsgroups linux.kernel
Subject [PATCH -next] phy: phy-qcom-usb-hs needs EXTCON
Date 2017-02-22 19:50 +0100
Message-ID <tdK9c-5W6-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Randy Dunlap <rdunlap@infradead.org>

Fix phy-qcom-usb-hs.c build when CONFIG_EXTCON=m.

Fixes these build errros:
drivers/built-in.o: In function `qcom_usb_hs_phy_power_off':
phy-qcom-usb-hs.c:(.text+0x2361): undefined reference to `extcon_unregister_notifier'
drivers/built-in.o: In function `qcom_usb_hs_phy_power_on':
phy-qcom-usb-hs.c:(.text+0x2456): undefined reference to `extcon_get_state'
phy-qcom-usb-hs.c:(.text+0x2477): undefined reference to `extcon_register_notifier'
drivers/built-in.o: In function `qcom_usb_hs_phy_probe':
phy-qcom-usb-hs.c:(.text+0x269e): undefined reference to `extcon_get_edev_by_phandle'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc:	Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20170222.orig/drivers/phy/Kconfig
+++ linux-next-20170222/drivers/phy/Kconfig
@@ -448,7 +448,7 @@ config PHY_QCOM_UFS
 
 config PHY_QCOM_USB_HS
 	tristate "Qualcomm USB HS PHY module"
-	depends on USB_ULPI_BUS
+	depends on USB_ULPI_BUS && EXTCON
 	select GENERIC_PHY
 	help
 	  Support for the USB high-speed ULPI compliant phy on Qualcomm

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH -next] phy: phy-qcom-usb-hs needs EXTCON Randy Dunlap <rdunlap@infradead.org> - 2017-02-22 19:50 +0100

csiph-web