From: Hans de Goede Date: Mon, 22 Oct 2018 14:57:46 +0000 (+0200) Subject: staging: vboxvideo: Use PCI_DEVICE() for our pci_id table X-Git-Tag: v5.15~7300^2~361 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=650d4aad032a82f6382a3a1a0f31f0f473b31ab1;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vboxvideo/vbox_drv.c b/drivers/staging/vboxvideo/vbox_drv.c index 9997bea..f9f4c6c 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);