diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-05-06 04:20:59 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-05-19 03:38:22 -0400 |
commit | fdddfab5c91ac6632595dd852d912624d80951a9 (patch) | |
tree | 476b90833b8f190aab00d63ed7f544d019f15450 /drivers/net/can/Kconfig | |
parent | d01481c35a9c531c9e0a55901482aeadd29c67ac (diff) |
can: pch_can: Fix Kconfig dependencies
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>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/Kconfig')
-rw-r--r-- | drivers/net/can/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index a5beabe6dd1a..ac67afa7735c 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig | |||
@@ -104,7 +104,7 @@ config CAN_FLEXCAN | |||
104 | 104 | ||
105 | config PCH_CAN | 105 | config PCH_CAN |
106 | tristate "Intel EG20T PCH CAN controller" | 106 | tristate "Intel EG20T PCH CAN controller" |
107 | depends on PCI | 107 | depends on PCI && (X86_32 || COMPILE_TEST) |
108 | ---help--- | 108 | ---help--- |
109 | This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which | 109 | This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which |
110 | is an IOH for x86 embedded processor (Intel Atom E6xx series). | 110 | is an IOH for x86 embedded processor (Intel Atom E6xx series). |