aboutsummaryrefslogtreecommitdiffstats
path: root/i2c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-01-26 20:42:19 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-26 20:42:19 -0800
commitfbb4d0b2bd376ffa7495cd8b988ae0668b2dab83 (patch)
tree1940902d6f34ae909576d1ea2ffdde3bc247d8a9 /i2c
parentd8419c1249522fbe7c585d447c6e852cdc10a3f0 (diff)
downloadpatches-fbb4d0b2bd376ffa7495cd8b988ae0668b2dab83.tar.gz
new patches added
Diffstat (limited to 'i2c')
-rw-r--r--i2c/i2c-fix-sx200_acb-build-on-other-arches.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/i2c/i2c-fix-sx200_acb-build-on-other-arches.patch b/i2c/i2c-fix-sx200_acb-build-on-other-arches.patch
new file mode 100644
index 0000000000000..b2ba5cc749725
--- /dev/null
+++ b/i2c/i2c-fix-sx200_acb-build-on-other-arches.patch
@@ -0,0 +1,29 @@
+From khali@linux-fr.org Sun Jan 22 03:28:59 2006
+Date: Sun, 22 Jan 2006 12:28:57 +0100
+From: Jean Delvare <khali@linux-fr.org>
+To: Andrew Morton <akpm@osdl.org>
+Cc: Dave Jones <davej@redhat.com>, Greg KH <greg@kroah.com>, Ben Gardner <bgardner@wabtec.com>
+Subject: I2C: fix sx200_acb build on other arches
+Message-Id: <20060122122857.008a5e61.khali@linux-fr.org>
+
+
+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>
+---
+ drivers/i2c/busses/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- gregkh-2.6.orig/drivers/i2c/busses/Kconfig
++++ gregkh-2.6/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.