diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-23 06:12:00 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-07 06:10:55 -0400 |
commit | 3f4f54b4f0052e9838f6bb98535746464d0c01c3 (patch) | |
tree | 19833e9587f205745cafc7052389104f05b9a4cd /arch/arm/mach-mx3/pcm037.c | |
parent | bf50bcc242db7f8d2fb6bc099c1693149d9fb5d5 (diff) |
mx3: Codingstyle: Let the compiler count arrays
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/pcm037.c')
-rw-r--r-- | arch/arm/mach-mx3/pcm037.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/pcm037.c b/arch/arm/mach-mx3/pcm037.c index d8472206de90..c755c06b75d1 100644 --- a/arch/arm/mach-mx3/pcm037.c +++ b/arch/arm/mach-mx3/pcm037.c | |||
@@ -244,12 +244,11 @@ static struct imxuart_platform_data uart_pdata = { | |||
244 | }; | 244 | }; |
245 | 245 | ||
246 | static struct resource smsc911x_resources[] = { | 246 | static struct resource smsc911x_resources[] = { |
247 | [0] = { | 247 | { |
248 | .start = CS1_BASE_ADDR + 0x300, | 248 | .start = CS1_BASE_ADDR + 0x300, |
249 | .end = CS1_BASE_ADDR + 0x300 + SZ_64K - 1, | 249 | .end = CS1_BASE_ADDR + 0x300 + SZ_64K - 1, |
250 | .flags = IORESOURCE_MEM, | 250 | .flags = IORESOURCE_MEM, |
251 | }, | 251 | }, { |
252 | [1] = { | ||
253 | .start = IOMUX_TO_IRQ(MX31_PIN_GPIO3_1), | 252 | .start = IOMUX_TO_IRQ(MX31_PIN_GPIO3_1), |
254 | .end = IOMUX_TO_IRQ(MX31_PIN_GPIO3_1), | 253 | .end = IOMUX_TO_IRQ(MX31_PIN_GPIO3_1), |
255 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | 254 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |