Root/target/linux/xburst/patches-3.0/0009-MIPS-JZ4740-Fix-i2c-driver-name.patch

1From 05bc4140f9da08fa48d81131ffa785e3026773a8 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 09/32] 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
14diff --git a/arch/mips/jz4740/platform.c b/arch/mips/jz4740/platform.c
15index 10929e2..cc6de5b 100644
16--- a/arch/mips/jz4740/platform.c
17+++ b/arch/mips/jz4740/platform.c
18@@ -142,7 +142,7 @@ static struct resource jz4740_i2c_resources[] = {
19 };
20 
21 struct platform_device jz4740_i2c_device = {
22- .name = "jz4740-i2c",
23+ .name = "jz47xx-i2c",
24     .id = 0,
25     .num_resources = ARRAY_SIZE(jz4740_i2c_resources),
26     .resource = jz4740_i2c_resources,
27--
281.7.4.1
29
30

Archive Download this file



interactive