| 1 | From 05bc4140f9da08fa48d81131ffa785e3026773a8 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 09/32] 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 | diff --git a/arch/mips/jz4740/platform.c b/arch/mips/jz4740/platform.c |
| 15 | index 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 | -- |
| 28 | 1.7.4.1 |
| 29 | |
| 30 | |