mx3: Codingstyle: Let the compiler count arrays
[deliverable/linux.git] / arch / arm / mach-mx3 / qong.c
index 0bca4d914abc36a0dfdda9c4ab834bd7d3245546..044511f1b9a99152613430fa846f41ad169fc2fd 100644 (file)
@@ -81,13 +81,12 @@ static inline void mxc_init_imx_uart(void)
 }
 
 static struct resource dnet_resources[] = {
-       [0] = {
+       {
                .name   = "dnet-memory",
                .start  = QONG_DNET_BASEADDR,
                .end    = QONG_DNET_BASEADDR + QONG_DNET_SIZE - 1,
                .flags  = IORESOURCE_MEM,
-       },
-       [1] = {
+       }, {
                .start  = QONG_FPGA_IRQ,
                .end    = QONG_FPGA_IRQ,
                .flags  = IORESOURCE_IRQ,
This page took 0.024923 seconds and 5 git commands to generate.