linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] can: rcar: Kconfig: Add helper dependency on COMPILE_TEST
@ 2021-08-25  6:23 Cai Huoqing
  2021-08-25  6:26 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Cai Huoqing @ 2021-08-25  6:23 UTC (permalink / raw)
  To: wg, mkl, davem, kuba, geert+renesas, prabhakar.mahadev-lad.rj,
	linux-can, netdev
  Cc: Cai Huoqing

it's helpful for complie test in other platform(e.g.X86)

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
 drivers/net/can/rcar/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/can/rcar/Kconfig b/drivers/net/can/rcar/Kconfig
index 29cabc20109e..56320a7f828b 100644
--- a/drivers/net/can/rcar/Kconfig
+++ b/drivers/net/can/rcar/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 config CAN_RCAR
 	tristate "Renesas R-Car and RZ/G CAN controller"
-	depends on ARCH_RENESAS || ARM
+	depends on ARCH_RENESAS || ARM || COMPILE_TEST
 	help
 	  Say Y here if you want to use CAN controller found on Renesas R-Car
 	  or RZ/G SoCs.
@@ -11,7 +11,7 @@ config CAN_RCAR
 
 config CAN_RCAR_CANFD
 	tristate "Renesas R-Car CAN FD controller"
-	depends on ARCH_RENESAS || ARM
+	depends on ARCH_RENESAS || ARM || COMPILE_TEST
 	help
 	  Say Y here if you want to use CAN FD controller found on
 	  Renesas R-Car SoCs. The driver puts the controller in CAN FD only
-- 
2.25.1


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

* Re: [PATCH] can: rcar: Kconfig: Add helper dependency on COMPILE_TEST
  2021-08-25  6:23 [PATCH] can: rcar: Kconfig: Add helper dependency on COMPILE_TEST Cai Huoqing
@ 2021-08-25  6:26 ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2021-08-25  6:26 UTC (permalink / raw)
  To: Cai Huoqing
  Cc: wg, davem, kuba, geert+renesas, prabhakar.mahadev-lad.rj,
	linux-can, netdev

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

On 25.08.2021 14:23:41, Cai Huoqing wrote:
> it's helpful for complie test in other platform(e.g.X86)
> 
> Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>

Applied to linux-can-next/testing

Thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2021-08-25  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25  6:23 [PATCH] can: rcar: Kconfig: Add helper dependency on COMPILE_TEST Cai Huoqing
2021-08-25  6:26 ` Marc Kleine-Budde

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).