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


Groups > linux.kernel > #1586403 > unrolled thread

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

Started byRandy Dunlap <rdunlap@infradead.org>
First post2017-02-22 19:50 +0100
Last post2017-02-22 19:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

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

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

FromRandy Dunlap <rdunlap@infradead.org>
Date2017-02-22 19:50 +0100
Subject[PATCH -next] phy: phy-qcom-usb-hs needs EXTCON
Message-ID<tdK9c-5W6-21@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web