[PATCH] video skeletonfb: use DEFINE_PCI_DEVICE_TABLE()

From: NÃmeth MÃrton
Date: Sun Jan 10 2010 - 12:04:59 EST


From: MÃrton NÃmeth <nm127@xxxxxxxxxxx>

Use DEFINE_PCI_DEVICE_TABLE() when declaring the PCI device
table as suggested in Documentation/PCI/pci.txt .

Signed-off-by: MÃrton NÃmeth <nm127@xxxxxxxxxxx>
---
--- linux/drivers/video/skeletonfb.c.orig 2009-12-03 04:51:21.000000000 +0100
+++ linux/drivers/video/skeletonfb.c 2010-01-10 17:59:55.000000000 +0100
@@ -887,7 +887,7 @@ static int xxxfb_resume(struct pci_dev *
#define xxxfb_resume NULL
#endif /* CONFIG_PM */

-static struct pci_device_id xxxfb_id_table[] = {
+static DEFINE_PCI_DEVICE_TABLE(xxxfb_id_table) = {
{ PCI_VENDOR_ID_XXX, PCI_DEVICE_ID_XXX,
PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16,
PCI_CLASS_MASK, 0 },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/