* [PATCH] can: pch_can: Fix Kconfig dependencies
@ 2014-05-06 8:20 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2014-05-06 8:20 UTC (permalink / raw)
To: linux-can; +Cc: Wolfgang Grandegger, Marc Kleine-Budde
The pch_can driver is for a companion chip to the Intel Atom E600
series processors. These are 32-bit x86 processors so the driver is
only needed on X86_32. 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>
---
drivers/net/can/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-3.15-rc4.orig/drivers/net/can/Kconfig 2014-05-06 09:27:49.552401940 +0200
+++ linux-3.15-rc4/drivers/net/can/Kconfig 2014-05-06 09:52:33.480375067 +0200
@@ -110,7 +110,7 @@ config CAN_FLEXCAN
config PCH_CAN
tristate "Intel EG20T PCH CAN controller"
- depends on PCI
+ depends on PCI && (X86_32 || COMPILE_TEST)
---help---
This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
is an IOH for x86 embedded processor (Intel Atom E6xx series).
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-06 8:21 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:20 [PATCH] can: pch_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;
as well as URLs for NNTP newsgroup(s).