diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-05-05 18:47:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-10 14:57:26 +0200 |
commit | 86357d8ed81ba967eca4047574e1b73b8d93772f (patch) | |
tree | c45aa6b13187ed7182c1d7a4a9663e2ad4371b7f | |
parent | c5f2579ed3eae33d41299958af6af56c0c8a01ba (diff) | |
download | blackbird-op-linux-86357d8ed81ba967eca4047574e1b73b8d93772f.tar.gz blackbird-op-linux-86357d8ed81ba967eca4047574e1b73b8d93772f.zip |
staging: comedi: gsc_hpdi: use PCI_DEVICE_SUB()
Use the `PCI_DEVICE_SUB()` macro in the initializer of the PCI module
device table `gsc_hpdi_pci_table[]`.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/gsc_hpdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c b/drivers/staging/comedi/drivers/gsc_hpdi.c index 2e459f6d6fe0..51ab801e82b0 100644 --- a/drivers/staging/comedi/drivers/gsc_hpdi.c +++ b/drivers/staging/comedi/drivers/gsc_hpdi.c @@ -702,8 +702,8 @@ static int gsc_hpdi_pci_probe(struct pci_dev *dev, } static const struct pci_device_id gsc_hpdi_pci_table[] = { - { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9080, PCI_VENDOR_ID_PLX, - 0x2400, 0, 0, 0}, + { PCI_DEVICE_SUB(PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9080, + PCI_VENDOR_ID_PLX, 0x2400) }, { 0 } }; MODULE_DEVICE_TABLE(pci, gsc_hpdi_pci_table); |