* [PATCH] can: at91_can: Fix Kconfig dependencies
@ 2014-05-06 8:19 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2014-05-06 8:19 UTC (permalink / raw)
To: linux-can; +Cc: Wolfgang Grandegger, Marc Kleine-Budde
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: Jean Delvare <jdelvare@suse.de>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
---
Note: the COMPILE_TEST might need additional dependencies, I'm not
sure... Builds fine on x86_64.
drivers/net/can/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-3.15-rc4.orig/drivers/net/can/Kconfig 2014-03-31 05:40:15.000000000 +0200
+++ linux-3.15-rc4/drivers/net/can/Kconfig 2014-05-06 09:27:49.552401940 +0200
@@ -65,7 +65,7 @@ config CAN_LEDS
config CAN_AT91
tristate "Atmel AT91 onchip CAN controller"
- depends on ARM
+ depends on ARCH_AT91 || COMPILE_TEST
---help---
This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
and AT91SAM9X5 processors.
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-06 8:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 8:19 [PATCH] can: at91_can: Fix Kconfig dependencies Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox