Skip to contentSkip to conversation

PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled

PATCH In review Qiujun Huang 2 participants 2 messages Jan 24, 2021 – Feb 4, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled

We should compile this driver only if we enable PHY_INGENIC_USB.

Fixes 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY

framework.")

---
v3:
There is no need to submit this patch to -stable tree, as the driver was not merged to 5.10.
v2:
Add a Fixes:tag and Cc linux-stable

---
 drivers/phy/ingenic/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/ingenic/Makefile +1 -1
index 65d5ea00fc9d..a00306651423 100644
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0
-obj-y		+= phy-ingenic-usb.o
+obj-$(PHY_INGENIC_USB)		+= phy-ingenic-usb.o
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 5 lines · Qiujun Huang

We should compile this driver only if we enable PHY_INGENIC_USB.

Fixes 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY

framework.")

This was fixed by commit ef019c5daf032dce0b95ed4d45bfec93c4fbcb9f

Quoted 20 lines

---
v3:
There is no need to submit this patch to -stable tree, as the driver was not merged to 5.10.
v2:
Add a Fixes:tag and Cc linux-stable

---
 drivers/phy/ingenic/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/ingenic/Makefile +1 -1
index 65d5ea00fc9d..a00306651423 100644
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0
-obj-y		+= phy-ingenic-usb.o
+obj-$(PHY_INGENIC_USB)		+= phy-ingenic-usb.o
Signature · 1 line
2.25.1
Signature · 1 line
~Vinod