ar71xx: refresh 3.2 patches
[openwrt.git] / target / linux / xburst / patches-2.6.37 / 051-fix-i2c-driver-name.patch
1 From 1a340ab0d36718e3cd522134c7c5746040c3c93e Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Sun, 5 Sep 2010 03:21:51 +0200
4 Subject: [PATCH 11/23] MIPS: JZ4740: Fix i2c driver name.
5
6 The i2c driver is generic to all JZ47XX based SoCs not only the JZ4740. Reflect
7 this in the driver name.
8
9 Signed-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,
This page took 0.052026 seconds and 5 git commands to generate.