Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eeaf4448 authored by Jean Delvare's avatar Jean Delvare Committed by Marc Kleine-Budde
Browse files

can: at91_can: Fix Kconfig dependencies



The at91_can driver is AT91-specific so it should depend on ARCH_AT91
rather than just ARM. Add COMPILE_TEST as an alternative, so that the
driver can still be build-tested elsewhere.

Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent e1dfefeb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -65,7 +65,7 @@ config CAN_LEDS


config CAN_AT91
config CAN_AT91
	tristate "Atmel AT91 onchip CAN controller"
	tristate "Atmel AT91 onchip CAN controller"
	depends on ARM
	depends on ARCH_AT91 || COMPILE_TEST
	---help---
	---help---
	  This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
	  This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
	  and AT91SAM9X5 processors.
	  and AT91SAM9X5 processors.