Tidied up the initializer for ni_boards[].
authorIan Abbott <abbotti@mev.co.uk>
Mon, 1 Sep 2008 10:03:58 +0000 (10:03 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 1 Sep 2008 10:03:58 +0000 (10:03 +0000)
comedi/drivers/ni_mio_cs.c

index 6cc5bc745a06afc9440f481e1e5cc5748a31b1d5..f9cc4164384585bcf49743406462de1cbcf51498 100644 (file)
@@ -80,7 +80,7 @@ static const ni_board ni_boards[] = {
              aobits:   0,
              ao_fifo_depth:0,
              ao_unipolar:0,
-                       .num_p0_dio_channels = 8,
+             num_p0_dio_channels:8,
              has_8255:0,
              caldac:   {dac8800, dac8043},
                },
@@ -96,7 +96,7 @@ static const ni_board ni_boards[] = {
              aobits:   0,
              ao_fifo_depth:0,
              ao_unipolar:0,
-                       .num_p0_dio_channels = 8,
+             num_p0_dio_channels:8,
              has_8255:0,
              caldac:   {mb88341},      /* verified */
                },
@@ -111,10 +111,10 @@ static const ni_board ni_boards[] = {
              n_aochan:2,
              aobits:   12,
              ao_fifo_depth:2048,
-                       .ao_range_table = &range_bipolar10,
+             ao_range_table:&range_bipolar10,
              ao_unipolar:0,
              ao_speed:1176,
-                       .num_p0_dio_channels = 8,
+             num_p0_dio_channels:8,
              has_8255:0,
              caldac:   {ad8804_debug}, /* verified */
                },
@@ -129,10 +129,10 @@ static const ni_board ni_boards[] = {
              n_aochan:2,
              aobits:   12,
              ao_fifo_depth:0,
-                       .ao_range_table = &range_bipolar10,
+             ao_range_table:&range_bipolar10,
              ao_unipolar:0,
              ao_speed:1000000,
-                       .num_p0_dio_channels = 8,
+             num_p0_dio_channels:8,
              has_8255:0,
              caldac:   {ad8804_debug},
                },
@@ -147,10 +147,10 @@ static const ni_board ni_boards[] = {
              n_aochan:2,
              aobits:   16,
              ao_fifo_depth:0,
-                       .ao_range_table = &range_bipolar10,
+             ao_range_table:&range_bipolar10,
              ao_unipolar:0,
              ao_speed:1000000,
-                       .num_p0_dio_channels = 8,
+             num_p0_dio_channels:8,
              has_8255:0,
              caldac:   {ad8804_debug},
                },
@@ -161,7 +161,7 @@ static const ni_board ni_boards[] = {
              n_aochan:8,
              aobits:   12,
              ao_671x:  8192,
-                       .num_p0_dio_channels = 8,
+             num_p0_dio_channels:8,
              caldac:   {mb88341, mb88341},
                },
 #endif