diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-10-13 01:55:44 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-10-13 01:55:44 +0000 |
commit | 6144179d612a4b1e127f30db8f2817c6e5f6712b (patch) | |
tree | 1416e7daeb47700eb1353d37aa5e621b57591490 /target/linux/xburst/patches-2.6.36/051-fix-i2c-driver-name.patch | |
parent | 9d9f68c6511d12f8f015d1a57adcc881210d1cb6 (diff) | |
download | mtk-20170518-6144179d612a4b1e127f30db8f2817c6e5f6712b.zip mtk-20170518-6144179d612a4b1e127f30db8f2817c6e5f6712b.tar.gz mtk-20170518-6144179d612a4b1e127f30db8f2817c6e5f6712b.tar.bz2 |
Add 2.6.36 patches
SVN-Revision: 23421
Diffstat (limited to 'target/linux/xburst/patches-2.6.36/051-fix-i2c-driver-name.patch')
-rw-r--r-- | target/linux/xburst/patches-2.6.36/051-fix-i2c-driver-name.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-2.6.36/051-fix-i2c-driver-name.patch b/target/linux/xburst/patches-2.6.36/051-fix-i2c-driver-name.patch new file mode 100644 index 0000000..b3e96df --- /dev/null +++ b/target/linux/xburst/patches-2.6.36/051-fix-i2c-driver-name.patch @@ -0,0 +1,24 @@ +From 550f3be28d4c44a6c2128812abc6a6cb0eb9ee78 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] 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, |