LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 4/4] gxfb: use PCI_DEVICE() for gxfb's pci device table
@ 2008-02-23 6:11 Andres Salomon
0 siblings, 0 replies; only message in thread
From: Andres Salomon @ 2008-02-23 6:11 UTC (permalink / raw)
To: adaplas; +Cc: linux-kernel, linux-fbdev-devel, info-linux, Jordan Crouse
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>
---
drivers/video/geode/gxfb_core.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/video/geode/gxfb_core.c b/drivers/video/geode/gxfb_core.c
index 07ff4bc..08fa25e 100644
--- a/drivers/video/geode/gxfb_core.c
+++ b/drivers/video/geode/gxfb_core.c
@@ -396,9 +396,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, }
};
--
1.5.3.7
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-23 6:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 6:11 [PATCH 4/4] gxfb: use PCI_DEVICE() for gxfb's pci device table Andres Salomon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).