mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 04:25:27 +08:00
ARM: shmobile: sh73a0: don't use named resource for I2C
i2c-sh_mobile driver doesn't care resource name. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
bd6dfe5840
commit
8e85524bf5
@ -316,7 +316,7 @@ static struct platform_device tmu01_device = {
|
||||
};
|
||||
|
||||
static struct resource i2c0_resources[] = {
|
||||
[0] = DEFINE_RES_MEM_NAMED(0xe6820000, 0x426, "IIC0"),
|
||||
[0] = DEFINE_RES_MEM(0xe6820000, 0x426),
|
||||
[1] = {
|
||||
.start = gic_spi(167),
|
||||
.end = gic_spi(170),
|
||||
@ -325,7 +325,7 @@ static struct resource i2c0_resources[] = {
|
||||
};
|
||||
|
||||
static struct resource i2c1_resources[] = {
|
||||
[0] = DEFINE_RES_MEM_NAMED(0xe6822000, 0x426, "IIC1"),
|
||||
[0] = DEFINE_RES_MEM(0xe6822000, 0x426),
|
||||
[1] = {
|
||||
.start = gic_spi(51),
|
||||
.end = gic_spi(54),
|
||||
@ -334,7 +334,7 @@ static struct resource i2c1_resources[] = {
|
||||
};
|
||||
|
||||
static struct resource i2c2_resources[] = {
|
||||
[0] = DEFINE_RES_MEM_NAMED(0xe6824000, 0x426, "IIC2"),
|
||||
[0] = DEFINE_RES_MEM(0xe6824000, 0x426),
|
||||
[1] = {
|
||||
.start = gic_spi(171),
|
||||
.end = gic_spi(174),
|
||||
@ -343,7 +343,7 @@ static struct resource i2c2_resources[] = {
|
||||
};
|
||||
|
||||
static struct resource i2c3_resources[] = {
|
||||
[0] = DEFINE_RES_MEM_NAMED(0xe6826000, 0x426, "IIC3"),
|
||||
[0] = DEFINE_RES_MEM(0xe6826000, 0x426),
|
||||
[1] = {
|
||||
.start = gic_spi(183),
|
||||
.end = gic_spi(186),
|
||||
@ -352,7 +352,7 @@ static struct resource i2c3_resources[] = {
|
||||
};
|
||||
|
||||
static struct resource i2c4_resources[] = {
|
||||
[0] = DEFINE_RES_MEM_NAMED(0xe6828000, 0x426, "IIC4"),
|
||||
[0] = DEFINE_RES_MEM(0xe6828000, 0x426),
|
||||
[1] = {
|
||||
.start = gic_spi(187),
|
||||
.end = gic_spi(190),
|
||||
|
Loading…
Reference in New Issue
Block a user