mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform: cznic: CZNIC_PLATFORMS should depend on MACH_ARMADA_38X || ARCH_MVEBU || PPC_P2020
@ 2024-07-11 14:28 Geert Uytterhoeven
  2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven
  2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven
  0 siblings, 2 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2024-07-11 14:28 UTC (permalink / raw)
  To: Marek Behún, Arnd Bergmann, Bartosz Golaszewski, Andy Shevchenko
  Cc: linux-kernel, Geert Uytterhoeven

CZ.NIC's Turris devices are based on Marvell Armada 385 or 3720, or on
Freescale P2020 SoCs.  Hence add dependencies on MACH_ARMADA_38X,
ARCH_MVEBU, and PPC_P2020, to prevent asking the user about these
drivers when configuring a kernel that cannot run on any CZ.NIC Turris
system.

Fixes: 992f1a3d4e88498d ("platform: cznic: Add preliminary support for Turris Omnia MCU")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Perhaps the dependency on PPC_P2020 should be dropped?
---
 drivers/platform/cznic/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/cznic/Kconfig b/drivers/platform/cznic/Kconfig
index 6edac80d5fa37762..70f5e683f61f2708 100644
--- a/drivers/platform/cznic/Kconfig
+++ b/drivers/platform/cznic/Kconfig
@@ -6,6 +6,7 @@
 
 menuconfig CZNIC_PLATFORMS
 	bool "Platform support for CZ.NIC's Turris hardware"
+	depends on MACH_ARMADA_38X || ARCH_MVEBU || PPC_P2020 || COMPILE_TEST
 	help
 	  Say Y here to be able to choose driver support for CZ.NIC's Turris
 	  devices. This option alone does not add any kernel code.
-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-12 12:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-11 14:28 [PATCH] platform: cznic: CZNIC_PLATFORMS should depend on MACH_ARMADA_38X || ARCH_MVEBU || PPC_P2020 Geert Uytterhoeven
2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven
2024-07-11 15:06   ` Hans de Goede
2024-07-11 15:30   ` Nikita Travkin
2024-07-11 15:39     ` Ilpo Järvinen
2024-07-12  9:03   ` Ilpo Järvinen
2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven
2024-07-11 15:06   ` Hans de Goede
2024-07-12  9:03   ` Ilpo Järvinen
2024-07-12 10:24   ` Dmitry Baryshkov
2024-07-12 12:01     ` Geert Uytterhoeven

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®