diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 4448a8393dc62bb73703f2b22e9211be0ca2cd6e..f51ba7b08f9b60d80ee4436b8afe06cb5f1762d7 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -79,6 +79,7 @@ config IBM_ASM
 config HWLAT_DETECTOR
 	tristate "Testing module to detect hardware-induced latencies"
 	depends on DEBUG_FS
+	select RING_BUFFER
 	default m
 	---help---
 	  A simple hardware latency detector. Use this module to detect