2021-01-24 09:45:54

by Qiujun Huang

[permalink] [raw]
Subject: [PATCH v2] PHY: Ingenic: Fixes: compile phy-ingenic-usb only if it was enabled

We should compile this driver only if we enable PHY_INGENIC_USB.

Signed-off-by: Qiujun Huang <[email protected]>
---
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


2021-01-24 09:56:25

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH v2] PHY: Ingenic: Fixes: compile phy-ingenic-usb only if it was enabled

On Sun, Jan 24, 2021 at 05:42:49PM +0800, Qiujun Huang wrote:
> We should compile this driver only if we enable PHY_INGENIC_USB.
>
> Signed-off-by: Qiujun Huang <[email protected]>
> ---
> v2:
> Add a Fixes:tag and Cc linux-stable

I don't see a Fixes: tag here :(

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>