diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2009-05-19 06:30:52 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2009-05-21 16:45:20 -0400 |
commit | 85bc26211c6a2c6e82c2403697f8ce44e9587215 (patch) | |
tree | ae7016cb1cc27e3e554f64b56c7bb3209c96fea1 /arch/arm/mach-mv78xx0 | |
parent | 385aa9e7012d35b017981e67b3464aef4e1e7108 (diff) |
[ARM] Orion: Remove explicit name for platform device resources
Remove explicit names from platform device resources since they will
automatically be named after the platform device they're associated
with.
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-mv78xx0')
-rw-r--r-- | arch/arm/mach-mv78xx0/common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78xx0/common.c index 9ba595083dab..0d88eea6a09c 100644 --- a/arch/arm/mach-mv78xx0/common.c +++ b/arch/arm/mach-mv78xx0/common.c | |||
@@ -532,12 +532,10 @@ static struct mv64xxx_i2c_pdata mv78xx0_i2c_0_pdata = { | |||
532 | 532 | ||
533 | static struct resource mv78xx0_i2c_0_resources[] = { | 533 | static struct resource mv78xx0_i2c_0_resources[] = { |
534 | { | 534 | { |
535 | .name = "i2c 0 base", | ||
536 | .start = I2C_0_PHYS_BASE, | 535 | .start = I2C_0_PHYS_BASE, |
537 | .end = I2C_0_PHYS_BASE + 0x1f, | 536 | .end = I2C_0_PHYS_BASE + 0x1f, |
538 | .flags = IORESOURCE_MEM, | 537 | .flags = IORESOURCE_MEM, |
539 | }, { | 538 | }, { |
540 | .name = "i2c 0 irq", | ||
541 | .start = IRQ_MV78XX0_I2C_0, | 539 | .start = IRQ_MV78XX0_I2C_0, |
542 | .end = IRQ_MV78XX0_I2C_0, | 540 | .end = IRQ_MV78XX0_I2C_0, |
543 | .flags = IORESOURCE_IRQ, | 541 | .flags = IORESOURCE_IRQ, |
@@ -567,12 +565,10 @@ static struct mv64xxx_i2c_pdata mv78xx0_i2c_1_pdata = { | |||
567 | 565 | ||
568 | static struct resource mv78xx0_i2c_1_resources[] = { | 566 | static struct resource mv78xx0_i2c_1_resources[] = { |
569 | { | 567 | { |
570 | .name = "i2c 1 base", | ||
571 | .start = I2C_1_PHYS_BASE, | 568 | .start = I2C_1_PHYS_BASE, |
572 | .end = I2C_1_PHYS_BASE + 0x1f, | 569 | .end = I2C_1_PHYS_BASE + 0x1f, |
573 | .flags = IORESOURCE_MEM, | 570 | .flags = IORESOURCE_MEM, |
574 | }, { | 571 | }, { |
575 | .name = "i2c 1 irq", | ||
576 | .start = IRQ_MV78XX0_I2C_1, | 572 | .start = IRQ_MV78XX0_I2C_1, |
577 | .end = IRQ_MV78XX0_I2C_1, | 573 | .end = IRQ_MV78XX0_I2C_1, |
578 | .flags = IORESOURCE_IRQ, | 574 | .flags = IORESOURCE_IRQ, |