WSL2-Linux-Kernel/drivers/phy
Tobias Regnery 6239879b41 phy: qcom-qusb2: add NVMEM dependency
With CONFIG_NVMEM=m and CONFIG_PHY_QCOM_QUSB2=y we get a link error from
calls to devm_nvmem_cell_get and nvmem_cell_read:

drivers/built-in.o: In function `qusb2_phy_probe':
binder.c:(.text+0x4750): undefined reference to `devm_nvmem_cell_get'
drivers/built-in.o: In function `qusb2_phy_init':
binder.c:(.text+0x489c): undefined reference to `nvmem_cell_read'

Fix this by adding a Kconfig dependency to ensure we can only have this
driver built in when the nvmem functions are also built in or we see the
empty stub functions. We can still build this driver as a module when the
nvmem core is build as module, too.

Fixes: deffad633413 ("phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips")
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-04-10 16:43:41 +05:30
..
tegra phy: fix returnvar.cocci warnings 2016-11-18 18:19:16 +05:30
Kconfig phy: qcom-qusb2: add NVMEM dependency 2017-04-10 16:43:41 +05:30
Makefile phy: qcom-qmp: new qmp phy driver for qcom-chipsets 2017-04-10 16:43:41 +05:30
phy-armada375-usb2.c
phy-bcm-cygnus-pcie.c drivers: phy: constify phy_ops structures 2017-01-16 16:41:51 +05:30
phy-bcm-kona-usb2.c
phy-bcm-ns-usb2.c
phy-bcm-ns-usb3.c phy: bcm-ns-usb3: split all writes into reg & val pairs 2017-04-10 16:43:41 +05:30
phy-bcm-ns2-pcie.c phy: bcm-ns2-pcie: Set missing .owner field in ns2_pci_phy_ops 2016-09-10 16:48:36 +05:30
phy-berlin-sata.c phy: fix returnvar.cocci warnings 2016-11-18 18:19:16 +05:30
phy-berlin-usb.c
phy-brcm-sata.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-core.c phy: Add reset callback 2016-09-10 17:31:39 +05:30
phy-da8xx-usb.c phy: da8xx-usb: Configure CFGCHIP2 to support OTG workaround 2016-11-18 18:19:15 +05:30
phy-dm816x-usb.c
phy-exynos-dp-video.c phy: exynos: Use one define for enable bit 2017-04-10 16:43:18 +05:30
phy-exynos-mipi-video.c phy: exynos: Use one define for enable bit 2017-04-10 16:43:18 +05:30
phy-exynos-pcie.c phy: phy-exynos-pcie: make it explicitly non-modular 2017-04-10 16:42:57 +05:30
phy-exynos4x12-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-exynos5-usbdrd.c phy: exynos: Use one define for enable bit 2017-04-10 16:43:18 +05:30
phy-exynos4210-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-exynos5250-sata.c
phy-exynos5250-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-hi6220-usb.c drivers: phy: constify phy_ops structures 2017-01-16 16:41:51 +05:30
phy-hix5hd2-sata.c
phy-lpc18xx-usb-otg.c
phy-meson8b-usb2.c phy: meson8b-usb2: fix offsets for some of the registers 2017-04-10 16:42:58 +05:30
phy-miphy28lp.c
phy-mt65xx-usb3.c phy: phy-mt65xx-usb3: disable 100uA extraction from SS port to HS port 2017-04-10 16:43:40 +05:30
phy-mvebu-sata.c
phy-omap-control.c
phy-omap-usb2.c phy: omap-usb2: support suspend/resume 2016-09-10 16:48:39 +05:30
phy-pistachio-usb.c
phy-pxa-28nm-hsic.c
phy-pxa-28nm-usb2.c
phy-qcom-apq8064-sata.c
phy-qcom-ipq806x-sata.c
phy-qcom-qmp.c phy: qcom-qmp: new qmp phy driver for qcom-chipsets 2017-04-10 16:43:41 +05:30
phy-qcom-qusb2.c phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips 2017-04-10 16:43:41 +05:30
phy-qcom-ufs-i.h phy: qcom-ufs: Remove -always-on property 2017-01-27 13:06:52 +05:30
phy-qcom-ufs-qmp-14nm.c phy: qcom-ufs: Suppress extraneous logging 2017-01-27 13:06:53 +05:30
phy-qcom-ufs-qmp-14nm.h
phy-qcom-ufs-qmp-20nm.c phy: qcom-ufs: Suppress extraneous logging 2017-01-27 13:06:53 +05:30
phy-qcom-ufs-qmp-20nm.h
phy-qcom-ufs.c phy: qcom-ufs: Fix misplaced jump label 2017-01-27 13:59:13 +05:30
phy-qcom-usb-hs.c phy: Add support for Qualcomm's USB HS phy 2017-01-27 13:06:52 +05:30
phy-qcom-usb-hsic.c phy: Add support for Qualcomm's USB HSIC phy 2017-01-27 13:06:52 +05:30
phy-rcar-gen2.c
phy-rcar-gen3-usb2.c phy: rcar-gen3-usb2: fix implementation for runtime PM 2017-04-10 16:43:40 +05:30
phy-rockchip-dp.c
phy-rockchip-emmc.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-rockchip-inno-usb2.c phy: rockchip-inno-usb2: add support of usb2-phy for rk3328 2017-04-10 16:43:41 +05:30
phy-rockchip-pcie.c phy-rockchip-pcie: remove deassert of phy_rst from exit callback 2016-11-05 13:45:02 +05:30
phy-rockchip-typec.c phy: rockchip-typec: add pm runtime support 2016-09-10 17:13:29 +05:30
phy-rockchip-usb.c phy: rockchip-usb: Add vbus regulator support. 2017-04-10 16:43:41 +05:30
phy-s5pv210-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-samsung-usb2.c
phy-samsung-usb2.h
phy-spear1310-miphy.c
phy-spear1340-miphy.c
phy-stih407-usb.c
phy-sun4i-usb.c phy: sun4i-usb: enable PHY0 dual route switching for A64 USB PHY 2017-04-10 16:43:40 +05:30
phy-sun9i-usb.c phy: sun9i-usb: fix error handling 2016-08-12 14:59:10 +05:30
phy-ti-pipe3.c phy: Fix ptr_ret.cocci warnings 2016-11-18 18:19:16 +05:30
phy-tusb1210.c
phy-twl4030-usb.c phy: for 4.10 2016-11-28 08:44:54 +01:00
phy-xgene.c
ulpi_phy.h