Skip to content

Commit

Permalink
[PATCH] I2C: fix sx200_acb build on other arches
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Mar 23, 2006
1 parent a417bbd commit cdf263f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cdf263f

Please sign in to comment.