Commit ef019c5d authored by Alexander Lobakin's avatar Alexander Lobakin Committed by Vinod Koul

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: 31de313d ("PHY: Ingenic: Add USB PHY driver using generic PHY framework.")
Signed-off-by: default avatarAlexander Lobakin <alobakin@pm.me>
Link: https://lore.kernel.org/r/20201222131021.4751-1-alobakin@pm.meSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 5c8fe583
# SPDX-License-Identifier: GPL-2.0
obj-y += phy-ingenic-usb.o
obj-$(CONFIG_PHY_INGENIC_USB) += phy-ingenic-usb.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment