All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] video skeletonfb: use DEFINE_PCI_DEVICE_TABLE()
@ 2010-01-10 17:04 ` Németh Márton
  0 siblings, 0 replies; 2+ messages in thread
From: Németh Márton @ 2010-01-10 17:04 UTC (permalink / raw)
  To: linux-fbdev; +Cc: LKML

From: Márton Németh <nm127@freemail.hu>

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@freemail.hu>
---
--- 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 },

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-10 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10 17:04 [PATCH] video skeletonfb: use DEFINE_PCI_DEVICE_TABLE() Németh Márton
2010-01-10 17:04 ` Németh Márton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.