summaryrefslogtreecommitdiff
path: root/drivers/phy/ingenic
diff options
context:
space:
mode:
authorAlexander Lobakin <alobakin@pm.me>2020-12-22 13:10:46 +0000
committerVinod Koul <vkoul@kernel.org>2020-12-29 10:12:14 +0530
commitef019c5daf032dce0b95ed4d45bfec93c4fbcb9f (patch)
tree940ad740c224d68535503621b00a6c8b4adf7c01 /drivers/phy/ingenic
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
PHY: Ingenic: fix unconditional build of phy-ingenic-usb
Currently drivers/phy/ingenic/Makefile adds phy-ingenic-usb to targets not depending on actual Kconfig symbol CONFIG_PHY_INGENIC_USB, so this driver always gets built[-in] on every system. Add missing dependency. Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY framework.") Signed-off-by: Alexander Lobakin <alobakin@pm.me> Link: https://lore.kernel.org/r/20201222131021.4751-1-alobakin@pm.me Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/ingenic')
-rw-r--r--drivers/phy/ingenic/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/ingenic/Makefile b/drivers/phy/ingenic/Makefile
index 65d5ea00fc9d..1cb158d7233f 100644
--- a/drivers/phy/ingenic/Makefile
+++ b/drivers/phy/ingenic/Makefile
@@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y += phy-ingenic-usb.o
+obj-$(CONFIG_PHY_INGENIC_USB) += phy-ingenic-usb.o