mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@kernel.org>
To: Ivan Vecera <ivecera@redhat.com>,
	Prathosh Satish <Prathosh.Satish@microchip.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Arnd Bergmann <arnd@arndb.de>, Jiri Pirko <jiri@resnulli.us>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] dpll: add back CONFIG_NET dependency
Date: Mon,  4 Aug 2025 10:33:33 +0200	[thread overview]
Message-ID: <20250804083339.3200226-1-arnd@kernel.org> (raw)

From: Arnd Bergmann <arnd@arndb.de>

Making the two bus specific front-ends the primary Kconfig symbol
results in a build failure when CONFIG_NET is disabled as this now
ignores the dependency:

WARNING: unmet direct dependencies detected for ZL3073X
  Depends on [n]: NET [=n]
  Selected by [y]:
  - ZL3073X_I2C [=y] && I2C [=y]

Make all of them depend on NET.

Fixes: a4f0866e3dbb ("dpll: Make ZL3073X invisible")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/dpll/zl3073x/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/dpll/zl3073x/Kconfig b/drivers/dpll/zl3073x/Kconfig
index 9915f7423dea..95813c043f16 100644
--- a/drivers/dpll/zl3073x/Kconfig
+++ b/drivers/dpll/zl3073x/Kconfig
@@ -17,6 +17,7 @@ config ZL3073X
 config ZL3073X_I2C
 	tristate "I2C bus implementation for Microchip Azurite devices"
 	depends on I2C
+	depends on NET
 	select REGMAP_I2C
 	select ZL3073X
 	help
@@ -29,6 +30,7 @@ config ZL3073X_I2C
 config ZL3073X_SPI
 	tristate "SPI bus implementation for Microchip Azurite devices"
 	depends on SPI
+	depends on NET
 	select REGMAP_SPI
 	select ZL3073X
 	help
-- 
2.39.5


             reply	other threads:[~2025-08-04  8:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-04  8:33 Arnd Bergmann [this message]
2025-08-04  8:51 ` Geert Uytterhoeven

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=20250804083339.3200226-1-arnd@kernel.org \
    --to=arnd@kernel.org \
    --cc=Prathosh.Satish@microchip.com \
    --cc=arnd@arndb.de \
    --cc=geert+renesas@glider.be \
    --cc=ivecera@redhat.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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®