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

staging: comedi: gsc_hpdi: tidy up the boardinfo

Remove the unnecessary comments in the boardinfo definition and
tidy up the declaration.

FWIW, I'm not sure this boardinfo is really needed...
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 fce0ff52
...@@ -128,22 +128,22 @@ ...@@ -128,22 +128,22 @@
#define NUM_DMA_DESCRIPTORS 256 #define NUM_DMA_DESCRIPTORS 256
struct hpdi_board { struct hpdi_board {
const char *name; /* board name */ const char *name;
int device_id; /* pci device id */ int device_id;
int subdevice_id; /* pci subdevice id */ int subdevice_id;
}; };
static const struct hpdi_board hpdi_boards[] = { static const struct hpdi_board hpdi_boards[] = {
{ {
.name = "pci-hpdi32", .name = "pci-hpdi32",
.device_id = PCI_DEVICE_ID_PLX_9080, .device_id = PCI_DEVICE_ID_PLX_9080,
.subdevice_id = 0x2400, .subdevice_id = 0x2400,
}, },
#if 0 #if 0
{ {
.name = "pxi-hpdi32", .name = "pxi-hpdi32",
.device_id = 0x9656, .device_id = 0x9656,
.subdevice_id = 0x2705, .subdevice_id = 0x2705,
}, },
#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