diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index f3bb75384627dc736400d7df1826413da9b51122..41c3d2821a78505ce74eca2012700368c7381305 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -588,7 +588,7 @@ config NSM
 config MARVELL_CN10K_DPI
 	tristate "Octeon CN10K DPI driver"
 	depends on PCI
-	depends on ARCH_THUNDER || COMPILE_TEST
+	depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
 	help
 	  Enables Octeon CN10K DMA packet interface (DPI) driver which
 	  intializes DPI hardware's physical function (PF) device's