Commit 25294851 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_atmio: tidy up the boardinfo

For aesthetics, add some whitespace to the boardinfo declaration.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bfc8049a
......@@ -106,7 +106,8 @@ are not supported.
*/
static const struct ni_board_struct ni_boards[] = {
{.device_id = 44,
{
.device_id = 44,
.isapnp_id = 0x0000, /* XXX unknown */
.name = "at-mio-16e-1",
.n_adchan = 16,
......@@ -121,9 +122,9 @@ static const struct ni_board_struct ni_boards[] = {
.ao_unipolar = 1,
.ao_speed = 1000,
.num_p0_dio_channels = 8,
.caldac = {mb88341},
},
{.device_id = 25,
.caldac = { mb88341 },
}, {
.device_id = 25,
.isapnp_id = 0x1900,
.name = "at-mio-16e-2",
.n_adchan = 16,
......@@ -138,9 +139,9 @@ static const struct ni_board_struct ni_boards[] = {
.ao_unipolar = 1,
.ao_speed = 1000,
.num_p0_dio_channels = 8,
.caldac = {mb88341},
},
{.device_id = 36,
.caldac = { mb88341 },
}, {
.device_id = 36,
.isapnp_id = 0x2400,
.name = "at-mio-16e-10",
.n_adchan = 16,
......@@ -154,9 +155,9 @@ static const struct ni_board_struct ni_boards[] = {
.ao_unipolar = 1,
.ao_speed = 10000,
.num_p0_dio_channels = 8,
.caldac = {ad8804_debug},
},
{.device_id = 37,
.caldac = { ad8804_debug },
}, {
.device_id = 37,
.isapnp_id = 0x2500,
.name = "at-mio-16de-10",
.n_adchan = 16,
......@@ -170,10 +171,10 @@ static const struct ni_board_struct ni_boards[] = {
.ao_unipolar = 1,
.ao_speed = 10000,
.num_p0_dio_channels = 8,
.caldac = {ad8804_debug},
.caldac = { ad8804_debug },
.has_8255 = 1,
},
{.device_id = 38,
}, {
.device_id = 38,
.isapnp_id = 0x2600,
.name = "at-mio-64e-3",
.n_adchan = 64,
......@@ -188,9 +189,9 @@ static const struct ni_board_struct ni_boards[] = {
.ao_unipolar = 1,
.ao_speed = 1000,
.num_p0_dio_channels = 8,
.caldac = {ad8804_debug},
},
{.device_id = 39,
.caldac = { ad8804_debug },
}, {
.device_id = 39,
.isapnp_id = 0x2700,
.name = "at-mio-16xe-50",
.n_adchan = 16,
......@@ -204,9 +205,9 @@ static const struct ni_board_struct ni_boards[] = {
.ao_range_table = &range_bipolar10,
.ao_speed = 50000,
.num_p0_dio_channels = 8,
.caldac = {dac8800, dac8043},
},
{.device_id = 50,
.caldac = { dac8800, dac8043 },
}, {
.device_id = 50,
.isapnp_id = 0x0000, /* XXX unknown */
.name = "at-mio-16xe-10",
.n_adchan = 16,
......@@ -222,9 +223,9 @@ static const struct ni_board_struct ni_boards[] = {
.ao_unipolar = 1,
.ao_speed = 1000,
.num_p0_dio_channels = 8,
.caldac = {dac8800, dac8043, ad8522},
},
{.device_id = 51,
.caldac = { dac8800, dac8043, ad8522 },
}, {
.device_id = 51,
.isapnp_id = 0x0000, /* XXX unknown */
.name = "at-ai-16xe-10",
.n_adchan = 16,
......@@ -234,8 +235,8 @@ static const struct ni_board_struct ni_boards[] = {
.gainlkup = ai_gain_14,
.ai_speed = 10000,
.num_p0_dio_channels = 8,
.caldac = {dac8800, dac8043, ad8522},
}
.caldac = { dac8800, dac8043, ad8522 },
},
};
static const int ni_irqpin[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment