diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-05-06 10:05:21 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-05-22 10:09:25 +0200 |
commit | fa96faaa119b3f5f8c3936e290913258d2712ef3 (patch) | |
tree | 3cd44dc3c195dfcc7f3f9cf44996325ee7438f73 /drivers/i2c | |
parent | 67240dfcb8dcf756cc00fb37f5cb7e3ee2fa6190 (diff) | |
download | op-kernel-dev-fa96faaa119b3f5f8c3936e290913258d2712ef3.zip op-kernel-dev-fa96faaa119b3f5f8c3936e290913258d2712ef3.tar.gz |
i2c: eg20t: Fix Kconfig dependencies
The i2c-eg20t 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>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index c94db1c..9c750ef 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -449,7 +449,7 @@ config I2C_EFM32 config I2C_EG20T tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C" - depends on PCI + depends on PCI && (X86_32 || COMPILE_TEST) help This driver is for PCH(Platform controller Hub) I2C of EG20T which is an IOH(Input/Output Hub) for x86 embedded processor. |