From: Andres Salomon Date: Mon, 28 Apr 2008 09:14:57 +0000 (-0700) Subject: gxfb: use PCI_DEVICE() for gxfb's pci device table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a5e79098799a4bead070a9bd7f1a2213ba5eef5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gxfb: use PCI_DEVICE() for gxfb's pci device table Drop the class/class_mask stuff; it's unnecessary as long as the vendor and device IDs match. Signed-off-by: Andres Salomon Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/geode/gxfb_core.c b/drivers/video/geode/gxfb_core.c index 4e22ee0377e7..546e53038faf 100644 --- a/drivers/video/geode/gxfb_core.c +++ b/drivers/video/geode/gxfb_core.c @@ -398,9 +398,7 @@ static void gxfb_remove(struct pci_dev *pdev) } static struct pci_device_id gxfb_id_table[] = { - { PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_GX_VIDEO, - PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16, - 0xff0000, 0 }, + { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_GX_VIDEO) }, { 0, } };