All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qiujun Huang <hqjagain@gmail.com>
To: paul@crapouillou.net, vkoul@kernel.org, kishon@ti.com,
	zhouyanjie@wanyeetech.com, aric.pzqi@ingenic.com
Cc: stable@vger.kernel.org, gregkh@linuxfoundation.org,
	Qiujun Huang <hqjagain@gmail.com>
Subject: [PATCH v3] PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled
Date: Sun, 24 Jan 2021 18:36:27 +0800	[thread overview]
Message-ID: <20210124103627.51801-1-hqjagain@gmail.com> (raw)

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


             reply	other threads:[~2021-01-24 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 10:36 Qiujun Huang [this message]
2021-02-04  7:10 ` [PATCH v3] PHY: Ingenic: Compile phy-ingenic-usb only if it was enabled Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210124103627.51801-1-hqjagain@gmail.com \
    --to=hqjagain@gmail.com \
    --cc=aric.pzqi@ingenic.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kishon@ti.com \
    --cc=paul@crapouillou.net \
    --cc=stable@vger.kernel.org \
    --cc=vkoul@kernel.org \
    --cc=zhouyanjie@wanyeetech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.