timestamp.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] hte: allow building modules with COMPILE_TEST enabled
@ 2023-09-11  9:46 Bartosz Golaszewski
  2023-09-25  8:37 ` Bartosz Golaszewski
  0 siblings, 1 reply; 7+ messages in thread
From: Bartosz Golaszewski @ 2023-09-11  9:46 UTC (permalink / raw)
  To: Dipen Patel; +Cc: timestamp, linux-kernel, Bartosz Golaszewski, Linus Walleij

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Allow building all HTE modules with COMPILE_TEST Kconfig option enabled.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
This was part of a wider series but since this is independent, I'm sending
it separately.

 drivers/hte/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hte/Kconfig b/drivers/hte/Kconfig
index cf29e0218bae..083e67492bf2 100644
--- a/drivers/hte/Kconfig
+++ b/drivers/hte/Kconfig
@@ -16,7 +16,7 @@ if HTE
 
 config HTE_TEGRA194
 	tristate "NVIDIA Tegra194 HTE Support"
-	depends on ARCH_TEGRA_194_SOC
+	depends on (ARCH_TEGRA_194_SOC || COMPILE_TEST)
 	help
 	  Enable this option for integrated hardware timestamping engine also
 	  known as generic timestamping engine (GTE) support on NVIDIA Tegra194
@@ -25,7 +25,7 @@ config HTE_TEGRA194
 
 config HTE_TEGRA194_TEST
         tristate "NVIDIA Tegra194 HTE Test"
-        depends on HTE_TEGRA194
+        depends on (HTE_TEGRA194 || COMPILE_TEST)
         help
 	  The NVIDIA Tegra194 GTE test driver demonstrates how to use HTE
 	  framework to timestamp GPIO and LIC IRQ lines.
-- 
2.39.2


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

end of thread, other threads:[~2023-10-09  6:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11  9:46 [PATCH] hte: allow building modules with COMPILE_TEST enabled Bartosz Golaszewski
2023-09-25  8:37 ` Bartosz Golaszewski
2023-09-28  3:30   ` Dipen Patel
2023-09-28  6:53     ` Bartosz Golaszewski
2023-09-28 17:36       ` Dipen Patel
2023-09-28 18:34         ` Bartosz Golaszewski
2023-10-09  6:44     ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).