]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: ni_65xx: cleanup the boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 5 Mar 2013 17:15:40 +0000 (10:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 17:03:33 +0000 (10:03 -0700)
For aesthetic reasons, add some whitespace to the boardinfo.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_65xx.c

index 9d824c59123ae79f5fb8a938465d21d6931045a1..74a1e65010cfaff3296ab6ce0e59bd30efd07147 100644 (file)
@@ -147,99 +147,114 @@ struct ni_65xx_board {
 
 static const struct ni_65xx_board ni_65xx_boards[] = {
        [BOARD_PCI6509] = {
-        .name = "pci-6509",
-        .num_dio_ports = 12,
-        .invert_outputs = 0},
+               .name           = "pci-6509",
+               .num_dio_ports  = 12,
+       },
        [BOARD_PXI6509] = {
-        .name = "pxi-6509",
-        .num_dio_ports = 12,
-        .invert_outputs = 0},
+               .name           = "pxi-6509",
+               .num_dio_ports  = 12,
+       },
        [BOARD_PCI6510] = {
-        .name = "pci-6510",
-        .num_di_ports = 4},
+               .name           = "pci-6510",
+               .num_di_ports   = 4,
+       },
        [BOARD_PCI6511] = {
-        .name = "pci-6511",
-        .num_di_ports = 8},
+               .name           = "pci-6511",
+               .num_di_ports   = 8,
+       },
        [BOARD_PXI6511] = {
-        .name = "pxi-6511",
-        .num_di_ports = 8},
+               .name           = "pxi-6511",
+               .num_di_ports   = 8,
+       },
        [BOARD_PCI6512] = {
-        .name = "pci-6512",
-        .num_do_ports = 8},
+               .name           = "pci-6512",
+               .num_do_ports   = 8,
+       },
        [BOARD_PXI6512] = {
-        .name = "pxi-6512",
-        .num_do_ports = 8},
+               .name           = "pxi-6512",
+               .num_do_ports   = 8,
+       },
        [BOARD_PCI6513] = {
-        .name = "pci-6513",
-        .num_do_ports = 8,
-        .invert_outputs = 1},
+               .name           = "pci-6513",
+               .num_do_ports   = 8,
+               .invert_outputs = 1,
+       },
        [BOARD_PXI6513] = {
-        .name = "pxi-6513",
-        .num_do_ports = 8,
-        .invert_outputs = 1},
+               .name           = "pxi-6513",
+               .num_do_ports   = 8,
+               .invert_outputs = 1,
+       },
        [BOARD_PCI6514] = {
-        .name = "pci-6514",
-        .num_di_ports = 4,
-        .num_do_ports = 4,
-        .invert_outputs = 1},
+               .name           = "pci-6514",
+               .num_di_ports   = 4,
+               .num_do_ports   = 4,
+               .invert_outputs = 1,
+       },
        [BOARD_PXI6514] = {
-        .name = "pxi-6514",
-        .num_di_ports = 4,
-        .num_do_ports = 4,
-        .invert_outputs = 1},
+               .name           = "pxi-6514",
+               .num_di_ports   = 4,
+               .num_do_ports   = 4,
+               .invert_outputs = 1,
+       },
        [BOARD_PCI6515] = {
-        .name = "pci-6515",
-        .num_di_ports = 4,
-        .num_do_ports = 4,
-        .invert_outputs = 1},
+               .name           = "pci-6515",
+               .num_di_ports   = 4,
+               .num_do_ports   = 4,
+               .invert_outputs = 1,
+       },
        [BOARD_PXI6515] = {
-        .name = "pxi-6515",
-        .num_di_ports = 4,
-        .num_do_ports = 4,
-        .invert_outputs = 1},
+               .name           = "pxi-6515",
+               .num_di_ports   = 4,
+               .num_do_ports   = 4,
+               .invert_outputs = 1,
+       },
        [BOARD_PCI6516] = {
-        .name = "pci-6516",
-        .num_do_ports = 4,
-        .invert_outputs = 1},
+               .name           = "pci-6516",
+               .num_do_ports   = 4,
+               .invert_outputs = 1,
+       },
        [BOARD_PCI6517] = {
-        .name = "pci-6517",
-        .num_do_ports = 4,
-        .invert_outputs = 1},
+               .name           = "pci-6517",
+               .num_do_ports   = 4,
+               .invert_outputs = 1,
+       },
        [BOARD_PCI6518] = {
-        .name = "pci-6518",
-        .num_di_ports = 2,
-        .num_do_ports = 2,
-        .invert_outputs = 1},
+               .name           = "pci-6518",
+               .num_di_ports   = 2,
+               .num_do_ports   = 2,
+               .invert_outputs = 1,
+       },
        [BOARD_PCI6519] = {
-        .name = "pci-6519",
-        .num_di_ports = 2,
-        .num_do_ports = 2,
-        .invert_outputs = 1},
+               .name           = "pci-6519",
+               .num_di_ports   = 2,
+               .num_do_ports   = 2,
+               .invert_outputs = 1,
+       },
        [BOARD_PCI6520] = {
-        .name = "pci-6520",
-        .num_di_ports = 1,
-        .num_do_ports = 1,
-        },
+               .name           = "pci-6520",
+               .num_di_ports   = 1,
+               .num_do_ports   = 1,
+       },
        [BOARD_PCI6521] = {
-        .name = "pci-6521",
-        .num_di_ports = 1,
-        .num_do_ports = 1,
-        },
+               .name           = "pci-6521",
+               .num_di_ports   = 1,
+               .num_do_ports   = 1,
+       },
        [BOARD_PXI6521] = {
-        .name = "pxi-6521",
-        .num_di_ports = 1,
-        .num_do_ports = 1,
-        },
+               .name           = "pxi-6521",
+               .num_di_ports   = 1,
+               .num_do_ports   = 1,
+       },
        [BOARD_PCI6528] = {
-        .name = "pci-6528",
-        .num_di_ports = 3,
-        .num_do_ports = 3,
-        },
+               .name           = "pci-6528",
+               .num_di_ports   = 3,
+               .num_do_ports   = 3,
+       },
        [BOARD_PXI6528] = {
-        .name = "pxi-6528",
-        .num_di_ports = 3,
-        .num_do_ports = 3,
-        },
+               .name           = "pxi-6528",
+               .num_di_ports   = 3,
+               .num_do_ports   = 3,
+       },
 };
 
 static inline unsigned ni_65xx_port_by_channel(unsigned channel)