diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-10-22 16:57:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-07 12:59:50 +0100 |
commit | 650d4aad032a82f6382a3a1a0f31f0f473b31ab1 (patch) | |
tree | 6ebbbaa9f174a66cc2892a392e0662037e2a818c /drivers/staging/vboxvideo | |
parent | 0a2bca1409b7dbb53946187430c66e85729e07cc (diff) | |
download | blackbird-op-linux-650d4aad032a82f6382a3a1a0f31f0f473b31ab1.tar.gz blackbird-op-linux-650d4aad032a82f6382a3a1a0f31f0f473b31ab1.zip |
staging: vboxvideo: Use PCI_DEVICE() for our pci_id table
Use PCI_DEVICE() for our pci_id table and also simplify the terminating
entry tio just "{ }".
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vboxvideo')
-rw-r--r-- | drivers/staging/vboxvideo/vbox_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vboxvideo/vbox_drv.c b/drivers/staging/vboxvideo/vbox_drv.c index 9997beac00fb..f9f4c6c2a4e9 100644 --- a/drivers/staging/vboxvideo/vbox_drv.c +++ b/drivers/staging/vboxvideo/vbox_drv.c @@ -23,8 +23,8 @@ module_param_named(modeset, vbox_modeset, int, 0400); static struct drm_driver driver; static const struct pci_device_id pciidlist[] = { - { 0x80ee, 0xbeef, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, - { 0, 0, 0}, + { PCI_DEVICE(0x80ee, 0xbeef) }, + { } }; MODULE_DEVICE_TABLE(pci, pciidlist); |