* [PATCH v3] PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled
@ 2021-01-24 10:36 Qiujun Huang
2021-02-04 7:10 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Qiujun Huang @ 2021-01-24 10:36 UTC (permalink / raw)
To: paul, vkoul, kishon, zhouyanjie, aric.pzqi; +Cc: stable, gregkh, 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.")
Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
---
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(-)
diff --git a/drivers/phy/ingenic/Makefile b/drivers/phy/ingenic/Makefile
index 65d5ea00fc9d..a00306651423 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-$(PHY_INGENIC_USB) += phy-ingenic-usb.o
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3] PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled
2021-01-24 10:36 [PATCH v3] PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled Qiujun Huang
@ 2021-02-04 7:10 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2021-02-04 7:10 UTC (permalink / raw)
To: Qiujun Huang; +Cc: paul, kishon, zhouyanjie, aric.pzqi, stable, gregkh
On 24-01-21, 18:36, Qiujun Huang wrote:
> We should compile this driver only if we enable PHY_INGENIC_USB.
>
> Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY
> framework.")
> Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
This was fixed by commit ef019c5daf032dce0b95ed4d45bfec93c4fbcb9f
> ---
> 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(-)
>
> diff --git a/drivers/phy/ingenic/Makefile b/drivers/phy/ingenic/Makefile
> index 65d5ea00fc9d..a00306651423 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-$(PHY_INGENIC_USB) += phy-ingenic-usb.o
> --
> 2.25.1
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-04 7:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 10:36 [PATCH v3] PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled Qiujun Huang
2021-02-04 7:10 ` Vinod Koul
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.