|
@@ -273,7 +273,7 @@ static struct sh_timer_config tmu00_platform_data = {
|
|
|
};
|
|
|
|
|
|
static struct resource tmu00_resources[] = {
|
|
|
- [0] = DEFINE_RES_MEM_NAMED(0xfff60008, 0xc, "TMU00"),
|
|
|
+ [0] = DEFINE_RES_MEM(0xfff60008, 0xc),
|
|
|
[1] = {
|
|
|
.start = intcs_evt2irq(0x0e80), /* TMU0_TUNI00 */
|
|
|
.flags = IORESOURCE_IRQ,
|
|
@@ -298,7 +298,7 @@ static struct sh_timer_config tmu01_platform_data = {
|
|
|
};
|
|
|
|
|
|
static struct resource tmu01_resources[] = {
|
|
|
- [0] = DEFINE_RES_MEM_NAMED(0xfff60014, 0xc, "TMU00"),
|
|
|
+ [0] = DEFINE_RES_MEM(0xfff60014, 0xc),
|
|
|
[1] = {
|
|
|
.start = intcs_evt2irq(0x0ea0), /* TMU0_TUNI01 */
|
|
|
.flags = IORESOURCE_IRQ,
|
|
@@ -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),
|
|
@@ -722,7 +722,7 @@ static struct platform_device pmu_device = {
|
|
|
|
|
|
/* an IPMMU module for ICB */
|
|
|
static struct resource ipmmu_resources[] = {
|
|
|
- DEFINE_RES_MEM_NAMED(0xfe951000, 0x100, "IPMMU"),
|
|
|
+ DEFINE_RES_MEM(0xfe951000, 0x100),
|
|
|
};
|
|
|
|
|
|
static const char * const ipmmu_dev_names[] = {
|