From: Arnd Bergmann <arnd@arndb.de>
To: Kishon Vijay Abraham I <kishon@ti.com>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Corentin Labbe <clabbe@baylibre.com>,
Nagarjuna Kristam <nkristam@nvidia.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
Thierry Reding <treding@nvidia.com>,
Vidya Sagar <vidyas@nvidia.com>,
linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: [PATCH] phy: tegra: fix USB dependencies
Date: Wed, 8 Apr 2020 22:08:14 +0200 [thread overview]
Message-ID: <20200408200828.124139-1-arnd@arndb.de> (raw)
Without CONFIG_USB_SUPPORT, we can get a couple of warnings for
missing dependencies:
WARNING: unmet direct dependencies detected for USB_PHY
Depends on [n]: USB_SUPPORT [=n]
Selected by [m]:
- PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
WARNING: unmet direct dependencies detected for USB_CONN_GPIO
Depends on [n]: USB_SUPPORT [=n] && GPIOLIB [=y]
Selected by [m]:
- PHY_TEGRA_XUSB [=m] && ARCH_TEGRA [=y]
Fixes: 6835bdc99580 ("phy: tegra: Select USB_PHY")
Fixes: f67213cee2b3 ("phy: tegra: xusb: Add usb-role-switch support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/phy/tegra/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/tegra/Kconfig b/drivers/phy/tegra/Kconfig
index a208aca4ba7b..4f8c61863411 100644
--- a/drivers/phy/tegra/Kconfig
+++ b/drivers/phy/tegra/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config PHY_TEGRA_XUSB
tristate "NVIDIA Tegra XUSB pad controller driver"
- depends on ARCH_TEGRA
+ depends on ARCH_TEGRA && USB_SUPPORT
select USB_CONN_GPIO
select USB_PHY
help
--
2.26.0
next reply other threads:[~2020-04-08 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-08 20:08 Arnd Bergmann [this message]
2020-04-09 13:24 ` [PATCH] phy: tegra: fix USB dependencies Thierry Reding
2020-04-09 13:47 ` Greg Kroah-Hartman
2020-04-11 9:01 ` Arnd Bergmann
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=20200408200828.124139-1-arnd@arndb.de \
--to=arnd@arndb.de \
--cc=clabbe@baylibre.com \
--cc=jonathanh@nvidia.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=nkristam@nvidia.com \
--cc=thierry.reding@gmail.com \
--cc=treding@nvidia.com \
--cc=vidyas@nvidia.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