mx3: Codingstyle: Let the compiler count arrays
[deliverable/linux.git] / arch / arm / mach-mx3 / pcm037.c
index d8472206de90c9b15880cb26d3354d71b797ea99..c755c06b75d1290ed711fa04700fe238bd35beb1 100644 (file)
@@ -244,12 +244,11 @@ static struct imxuart_platform_data uart_pdata = {
 };
 
 static struct resource smsc911x_resources[] = {
-       [0] = {
+       {
                .start          = CS1_BASE_ADDR + 0x300,
                .end            = CS1_BASE_ADDR + 0x300 + SZ_64K - 1,
                .flags          = IORESOURCE_MEM,
-       },
-       [1] = {
+       }, {
                .start          = IOMUX_TO_IRQ(MX31_PIN_GPIO3_1),
                .end            = IOMUX_TO_IRQ(MX31_PIN_GPIO3_1),
                .flags          = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL,
This page took 0.024651 seconds and 5 git commands to generate.