[PATCH] make HWLAT_DETECTOR kernel config either disabled or a module, never builtin.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since the HWLAT_DETECTOR driver supposedly shouldn't be builtin, but a
module when used at all, it would make sense to limit the configuration
choices:

Signed-off-by: Joakim Hernberg <jhernberg@xxxxxxxxxx>
Suggested-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

---
 drivers/misc/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 453a616..94756c3 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -124,8 +124,7 @@ config IBM_ASM
 
 config HWLAT_DETECTOR
 	tristate "Testing module to detect hardware-induced latencies"
-	depends on DEBUG_FS
-	depends on RING_BUFFER
+	depends on DEBUG_FS && RING_BUFFER && m
 	default m
 	---help---
 	  A simple hardware latency detector. Use this module to detect
-- 
2.5.3

-- 

   Joakim
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux