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

staging: comedi: ni_labpc: cleanup the boardinfo

For aesthetic reasons, add some whitespace to the boardinfo.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d2337057
...@@ -373,50 +373,48 @@ static inline void labpc_writeb(unsigned int byte, unsigned long address) ...@@ -373,50 +373,48 @@ static inline void labpc_writeb(unsigned int byte, unsigned long address)
static const struct labpc_boardinfo labpc_boards[] = { static const struct labpc_boardinfo labpc_boards[] = {
{ {
.name = "lab-pc-1200", .name = "lab-pc-1200",
.ai_speed = 10000, .ai_speed = 10000,
.bustype = isa_bustype, .bustype = isa_bustype,
.register_layout = labpc_1200_layout, .register_layout = labpc_1200_layout,
.has_ao = 1, .has_ao = 1,
.ai_range_table = &range_labpc_1200_ai, .ai_range_table = &range_labpc_1200_ai,
.ai_range_code = labpc_1200_ai_gain_bits, .ai_range_code = labpc_1200_ai_gain_bits,
.ai_range_is_unipolar = labpc_1200_is_unipolar, .ai_range_is_unipolar = labpc_1200_is_unipolar,
.ai_scan_up = 1, .ai_scan_up = 1,
}, }, {
{ .name = "lab-pc-1200ai",
.name = "lab-pc-1200ai", .ai_speed = 10000,
.ai_speed = 10000, .bustype = isa_bustype,
.bustype = isa_bustype, .register_layout = labpc_1200_layout,
.register_layout = labpc_1200_layout, .ai_range_table = &range_labpc_1200_ai,
.ai_range_table = &range_labpc_1200_ai, .ai_range_code = labpc_1200_ai_gain_bits,
.ai_range_code = labpc_1200_ai_gain_bits, .ai_range_is_unipolar = labpc_1200_is_unipolar,
.ai_range_is_unipolar = labpc_1200_is_unipolar, .ai_scan_up = 1,
.ai_scan_up = 1, }, {
}, .name = "lab-pc+",
{ .ai_speed = 12000,
.name = "lab-pc+", .bustype = isa_bustype,
.ai_speed = 12000, .register_layout = labpc_plus_layout,
.bustype = isa_bustype, .has_ao = 1,
.register_layout = labpc_plus_layout, .ai_range_table = &range_labpc_plus_ai,
.has_ao = 1, .ai_range_code = labpc_plus_ai_gain_bits,
.ai_range_table = &range_labpc_plus_ai, .ai_range_is_unipolar = labpc_plus_is_unipolar,
.ai_range_code = labpc_plus_ai_gain_bits, },
.ai_range_is_unipolar = labpc_plus_is_unipolar,
},
#ifdef CONFIG_COMEDI_PCI_DRIVERS #ifdef CONFIG_COMEDI_PCI_DRIVERS
{ {
.name = "pci-1200", .name = "pci-1200",
.device_id = 0x161, .device_id = 0x161,
.ai_speed = 10000, .ai_speed = 10000,
.bustype = pci_bustype, .bustype = pci_bustype,
.register_layout = labpc_1200_layout, .register_layout = labpc_1200_layout,
.has_ao = 1, .has_ao = 1,
.ai_range_table = &range_labpc_1200_ai, .ai_range_table = &range_labpc_1200_ai,
.ai_range_code = labpc_1200_ai_gain_bits, .ai_range_code = labpc_1200_ai_gain_bits,
.ai_range_is_unipolar = labpc_1200_is_unipolar, .ai_range_is_unipolar = labpc_1200_is_unipolar,
.ai_scan_up = 1, .ai_scan_up = 1,
.memory_mapped_io = 1, .memory_mapped_io = 1,
}, },
#endif #endif
}; };
......
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