Root/target/linux/xburst/patches-2.6.36/051-fix-i2c-driver-name.patch

1From 550f3be28d4c44a6c2128812abc6a6cb0eb9ee78 Mon Sep 17 00:00:00 2001
2From: Lars-Peter Clausen <lars@metafoo.de>
3Date: Sun, 5 Sep 2010 03:21:51 +0200
4Subject: [PATCH] MIPS: JZ4740: Fix i2c driver name.
5
6The i2c driver is generic to all JZ47XX based SoCs not only the JZ4740. Reflect
7this in the driver name.
8
9Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
10---
11 arch/mips/jz4740/platform.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14--- a/arch/mips/jz4740/platform.c
15+++ b/arch/mips/jz4740/platform.c
16@@ -142,7 +142,7 @@ static struct resource jz4740_i2c_resour
17 };
18 
19 struct platform_device jz4740_i2c_device = {
20- .name = "jz4740-i2c",
21+ .name = "jz47xx-i2c",
22     .id = 0,
23     .num_resources = ARRAY_SIZE(jz4740_i2c_resources),
24     .resource = jz4740_i2c_resources,
25

Archive Download this file



interactive