From: Vladimir Murzin <vladimir.murzin@arm.com>
To: linux-renesas-soc@vger.kernel.org
Cc: horms+renesas@verge.net.au, kishon@ti.com,
yoshihiro.shimoda.uh@renesas.com, arnd@arndb.de,
linux-kernel@vger.kernel.org
Subject: [PATCH] phy: rcar-gen3-usb2: add dependency on USB
Date: Fri, 15 Dec 2017 10:20:20 +0000 [thread overview]
Message-ID: <1513333220-44070-1-git-send-email-vladimir.murzin@arm.com> (raw)
Following error showed up:
drivers/phy/renesas/phy-rcar-gen3-usb2.o: In function `rcar_gen3_phy_usb2_probe':
/work/tools/linux/drivers/phy/renesas/phy-rcar-gen3-usb2.c:444: undefined reference to `of_usb_get_dr_mode_by_phy'
Makefile:993: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
with CONFIG_USB_SUPPORT=n
Add dependency on USB_SUPPORT and select USB_COMMON to make sure that
of_usb_get_dr_mode_by_phy() is available.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
---
drivers/phy/renesas/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/phy/renesas/Kconfig b/drivers/phy/renesas/Kconfig
index cb09245..c845fac 100644
--- a/drivers/phy/renesas/Kconfig
+++ b/drivers/phy/renesas/Kconfig
@@ -12,7 +12,9 @@ config PHY_RCAR_GEN3_USB2
tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
depends on ARCH_RENESAS
depends on EXTCON
+ depends on USB_SUPPORT
select GENERIC_PHY
+ select USB_COMMON
help
Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
--
1.9.1
next reply other threads:[~2017-12-15 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-15 10:20 Vladimir Murzin [this message]
2017-12-15 10:27 ` Yoshihiro Shimoda
2017-12-15 10:28 ` Vladimir Murzin
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=1513333220-44070-1-git-send-email-vladimir.murzin@arm.com \
--to=vladimir.murzin@arm.com \
--cc=arnd@arndb.de \
--cc=horms+renesas@verge.net.au \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=yoshihiro.shimoda.uh@renesas.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®