Commit 8e85524b authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Simon Horman

ARM: shmobile: sh73a0: don't use named resource for I2C

i2c-sh_mobile driver doesn't care resource name.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent bd6dfe58
...@@ -316,7 +316,7 @@ static struct platform_device tmu01_device = { ...@@ -316,7 +316,7 @@ static struct platform_device tmu01_device = {
}; };
static struct resource i2c0_resources[] = { static struct resource i2c0_resources[] = {
[0] = DEFINE_RES_MEM_NAMED(0xe6820000, 0x426, "IIC0"), [0] = DEFINE_RES_MEM(0xe6820000, 0x426),
[1] = { [1] = {
.start = gic_spi(167), .start = gic_spi(167),
.end = gic_spi(170), .end = gic_spi(170),
...@@ -325,7 +325,7 @@ static struct resource i2c0_resources[] = { ...@@ -325,7 +325,7 @@ static struct resource i2c0_resources[] = {
}; };
static struct resource i2c1_resources[] = { static struct resource i2c1_resources[] = {
[0] = DEFINE_RES_MEM_NAMED(0xe6822000, 0x426, "IIC1"), [0] = DEFINE_RES_MEM(0xe6822000, 0x426),
[1] = { [1] = {
.start = gic_spi(51), .start = gic_spi(51),
.end = gic_spi(54), .end = gic_spi(54),
...@@ -334,7 +334,7 @@ static struct resource i2c1_resources[] = { ...@@ -334,7 +334,7 @@ static struct resource i2c1_resources[] = {
}; };
static struct resource i2c2_resources[] = { static struct resource i2c2_resources[] = {
[0] = DEFINE_RES_MEM_NAMED(0xe6824000, 0x426, "IIC2"), [0] = DEFINE_RES_MEM(0xe6824000, 0x426),
[1] = { [1] = {
.start = gic_spi(171), .start = gic_spi(171),
.end = gic_spi(174), .end = gic_spi(174),
...@@ -343,7 +343,7 @@ static struct resource i2c2_resources[] = { ...@@ -343,7 +343,7 @@ static struct resource i2c2_resources[] = {
}; };
static struct resource i2c3_resources[] = { static struct resource i2c3_resources[] = {
[0] = DEFINE_RES_MEM_NAMED(0xe6826000, 0x426, "IIC3"), [0] = DEFINE_RES_MEM(0xe6826000, 0x426),
[1] = { [1] = {
.start = gic_spi(183), .start = gic_spi(183),
.end = gic_spi(186), .end = gic_spi(186),
...@@ -352,7 +352,7 @@ static struct resource i2c3_resources[] = { ...@@ -352,7 +352,7 @@ static struct resource i2c3_resources[] = {
}; };
static struct resource i2c4_resources[] = { static struct resource i2c4_resources[] = {
[0] = DEFINE_RES_MEM_NAMED(0xe6828000, 0x426, "IIC4"), [0] = DEFINE_RES_MEM(0xe6828000, 0x426),
[1] = { [1] = {
.start = gic_spi(187), .start = gic_spi(187),
.end = gic_spi(190), .end = gic_spi(190),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment