can: at91_can: Fix Kconfig dependencies
authorJean Delvare <jdelvare@suse.de>
Tue, 6 May 2014 08:19:15 +0000 (10:19 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 19 May 2014 07:38:21 +0000 (09:38 +0200)
commiteeaf4448c8fab616948572e10c7cbf692c30f3bb
treead6da469016caa92ed50b2633e6de705eb612c6b
parente1dfefebaebf8b4d7c7a873b898a4ce9927a2fdf
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: Jean Delvare <jdelvare@suse.de>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/Kconfig