From: Jean Delvare Date: Tue, 6 May 2014 08:20:59 +0000 (+0200) Subject: can: pch_can: Fix Kconfig dependencies X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdddfab5c91ac6632595dd852d912624d80951a9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Signed-off-by: Marc Kleine-Budde --- 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 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).