summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-01-22 12:28:57 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 14:21:50 -0800
commitcdf263f1c59cad9b1567e759890b9be044972856 (patch)
treed5fa705326c9253e4949577adeffcb8b7853e0e7 /drivers/i2c
parenta417bbd33b2ed7a3b2bc78cbadb820079d453328 (diff)
downloadtalos-obmc-linux-cdf263f1c59cad9b1567e759890b9be044972856.tar.gz
talos-obmc-linux-cdf263f1c59cad9b1567e759890b9be044972856.zip
[PATCH] I2C: fix sx200_acb build on other arches
scx200_acb is only useful on a few Geode-based systems, and won't compile on non-x86 systems due to the lack of asm/msr.h, as reported by Andrew Morton. Thus, we should make that driver depend on X86. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 1a3bf42351b3..7d2705a68e09 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -390,7 +390,7 @@ config SCx200_I2C_SDA
config SCx200_ACB
tristate "Geode ACCESS.bus support"
- depends on I2C && PCI
+ depends on X86_32 && I2C && PCI
help
Enable the use of the ACCESS.bus controllers on the Geode SCx200 and
SC1100 processors and the CS5535 and CS5536 Geode companion devices.
OpenPOWER on IntegriCloud