aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst/patches-2.6.37/051-fix-i2c-driver-name.patch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-01-06 01:32:17 +0000
committerLars-Peter Clausen <lars@metafoo.de>2011-01-06 01:32:17 +0000
commit2c30a6b6931deafd1c610ee0f6abf788c300cf80 (patch)
tree65d74b06f4e472da29770bc5ee7ba329c5b0ad9d /target/linux/xburst/patches-2.6.37/051-fix-i2c-driver-name.patch
parent71894cf47a0dd63c4f9efb0089fe4934815c0b35 (diff)
downloadupstream-2c30a6b6931deafd1c610ee0f6abf788c300cf80.tar.gz
upstream-2c30a6b6931deafd1c610ee0f6abf788c300cf80.tar.bz2
upstream-2c30a6b6931deafd1c610ee0f6abf788c300cf80.zip
[xburst] Add 2.6.37 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24914 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/patches-2.6.37/051-fix-i2c-driver-name.patch')
-rw-r--r--target/linux/xburst/patches-2.6.37/051-fix-i2c-driver-name.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-2.6.37/051-fix-i2c-driver-name.patch b/target/linux/xburst/patches-2.6.37/051-fix-i2c-driver-name.patch
new file mode 100644
index 0000000000..7e4b961c81
--- /dev/null
+++ b/target/linux/xburst/patches-2.6.37/051-fix-i2c-driver-name.patch
@@ -0,0 +1,24 @@
+From 1a340ab0d36718e3cd522134c7c5746040c3c93e Mon Sep 17 00:00:00 2001
+From: Lars-Peter Clausen <lars@metafoo.de>
+Date: Sun, 5 Sep 2010 03:21:51 +0200
+Subject: [PATCH 11/23] MIPS: JZ4740: Fix i2c driver name.
+
+The i2c driver is generic to all JZ47XX based SoCs not only the JZ4740. Reflect
+this in the driver name.
+
+Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
+---
+ arch/mips/jz4740/platform.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/arch/mips/jz4740/platform.c
++++ b/arch/mips/jz4740/platform.c
+@@ -142,7 +142,7 @@ static struct resource jz4740_i2c_resour
+ };
+
+ struct platform_device jz4740_i2c_device = {
+- .name = "jz4740-i2c",
++ .name = "jz47xx-i2c",
+ .id = 0,
+ .num_resources = ARRAY_SIZE(jz4740_i2c_resources),
+ .resource = jz4740_i2c_resources,