aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2008-04-28 05:14:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:36 -0400
commit0a5e79098799a4bead070a9bd7f1a2213ba5eef5 (patch)
treec6ecd0b07a56cd8ae3e3101aece11bd4e72fd008 /drivers
parente2b118090969f153f134647acbcbbf01a9005e64 (diff)
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 <dilinger@debian.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/geode/gxfb_core.c4
1 files changed, 1 insertions, 3 deletions
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)
398} 398}
399 399
400static struct pci_device_id gxfb_id_table[] = { 400static struct pci_device_id gxfb_id_table[] = {
401 { PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_GX_VIDEO, 401 { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_GX_VIDEO) },
402 PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16,
403 0xff0000, 0 },
404 { 0, } 402 { 0, }
405}; 403};
406 404