linux/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: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
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: Constify struct phy_ops variables 2015-08-03 18:35:09 +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-bcm-ns-usb2.c phy: bcm-ns-usb2: checking the wrong variable 2016-06-17 19:02:08 +05:30
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-berlin-sata.c phy: fix returnvar.cocci warnings 2016-11-18 18:19:16 +05:30
phy-berlin-usb.c phy: berlin-usb: don't set device's driver_data 2015-12-20 17:43:12 +05:30
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: dm816x: use __maybe_unused to hide pm functions 2016-03-03 20:37:41 -08:00
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: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-exynos5250-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
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-hi6220-usb.c drivers: phy: constify phy_ops structures 2017-01-16 16:41:51 +05:30
phy-hix5hd2-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: fix clock order in phy init 2015-08-10 20:11:58 +05:30
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: miphy28lp: Inform the reset framework that our reset line may be shared 2016-07-01 10:51:30 +01:00
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: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-omap-control.c New Features 2015-04-10 13:47:50 +02:00
phy-omap-usb2.c phy: omap-usb2: support suspend/resume 2016-09-10 16:48:39 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-pxa-28nm-hsic.c phy: add Marvell HSIC 28nm PHY 2015-06-09 12:20:30 -07:00
phy-pxa-28nm-usb2.c phy: Add Marvell USB 2.0 OTG 28nm PHY 2015-06-09 12:20:30 -07:00
phy-qcom-apq8064-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-qcom-ipq806x-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
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: add support for 14nm phy 2015-01-20 19:43:26 +01:00
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: add support for 20nm phy 2015-01-20 19:43:25 +01:00
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-gen2: add fallback binding 2016-04-29 14:40:07 +05:30
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-dp: fix return value check in rockchip_dp_phy_probe() 2016-06-17 18:44:24 +05:30
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: exynos-usb2: add vbus regulator support 2015-10-06 20:21:47 +05:30
phy-samsung-usb2.h phy: exynos-usb2: add vbus regulator support 2015-10-06 20:21:47 +05:30
phy-spear1310-miphy.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-spear1340-miphy.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-stih407-usb.c phy: phy-stih407-usb: Use explicit reset_control_get_exclusive() API 2016-07-01 10:52:09 +01:00
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 This is the bulk of GPIO changes for the v4.3 kernel cycle: 2015-09-04 10:07:45 -07:00
phy-twl4030-usb.c phy: for 4.10 2016-11-28 08:44:54 +01:00
phy-xgene.c phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-07-04 17:19:21 +05:30
ulpi_phy.h phy: ulpi_phy: Add const qualifier to ops 2015-08-03 18:35:09 +05:30