提交 fdddfab5 编写于 作者: J Jean Delvare 提交者: Marc Kleine-Budde

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: NJean Delvare <jdelvare@suse.de>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
上级 d01481c3
...@@ -104,7 +104,7 @@ config CAN_FLEXCAN ...@@ -104,7 +104,7 @@ config CAN_FLEXCAN
config PCH_CAN config PCH_CAN
tristate "Intel EG20T PCH CAN controller" tristate "Intel EG20T PCH CAN controller"
depends on PCI depends on PCI && (X86_32 || COMPILE_TEST)
---help--- ---help---
This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
is an IOH for x86 embedded processor (Intel Atom E6xx series). is an IOH for x86 embedded processor (Intel Atom E6xx series).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册