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-orion5x | |
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-orion5x')
-rw-r--r-- | arch/arm/mach-orion5x/common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c index 6af99ddabdfb..a51fb9dd65a7 100644 --- a/arch/arm/mach-orion5x/common.c +++ b/arch/arm/mach-orion5x/common.c | |||
@@ -248,12 +248,10 @@ static struct mv64xxx_i2c_pdata orion5x_i2c_pdata = { | |||
248 | 248 | ||
249 | static struct resource orion5x_i2c_resources[] = { | 249 | static struct resource orion5x_i2c_resources[] = { |
250 | { | 250 | { |
251 | .name = "i2c base", | ||
252 | .start = I2C_PHYS_BASE, | 251 | .start = I2C_PHYS_BASE, |
253 | .end = I2C_PHYS_BASE + 0x1f, | 252 | .end = I2C_PHYS_BASE + 0x1f, |
254 | .flags = IORESOURCE_MEM, | 253 | .flags = IORESOURCE_MEM, |
255 | }, { | 254 | }, { |
256 | .name = "i2c irq", | ||
257 | .start = IRQ_ORION5X_I2C, | 255 | .start = IRQ_ORION5X_I2C, |
258 | .end = IRQ_ORION5X_I2C, | 256 | .end = IRQ_ORION5X_I2C, |
259 | .flags = IORESOURCE_IRQ, | 257 | .flags = IORESOURCE_IRQ, |