[PATCH 2/3] can: ti_hecc: Kconfig: add COMPILE_TEST

Vincent Mailhol posted 3 patches 2 months, 3 weeks ago
There is a newer version of this series
[PATCH 2/3] can: ti_hecc: Kconfig: add COMPILE_TEST
Posted by Vincent Mailhol 2 months, 3 weeks ago
ti_hecc depends on ARM. Add COMPILE_TEST so that this driver can also
be built on other platforms.

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
---
 drivers/net/can/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index cf989bea9aa33356a94a9bb495d4c22ae907d436..d58fab0161b3ea6e12047c3fa0f884d0142002e7 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -201,7 +201,7 @@ config CAN_SUN4I
 	  be called sun4i_can.
 
 config CAN_TI_HECC
-	depends on ARM
+	depends on ARM || COMPILE_TEST
 	tristate "TI High End CAN Controller"
 	select CAN_RX_OFFLOAD
 	help

-- 
2.49.1