From: "Németh Márton" <nm127@freemail.hu>
To: linux-fbdev@vger.kernel.org
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] video skeletonfb: use DEFINE_PCI_DEVICE_TABLE()
Date: Sun, 10 Jan 2010 18:04:31 +0100 [thread overview]
Message-ID: <4B4A089F.3090908@freemail.hu> (raw)
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 },
reply other threads:[~2010-01-10 17:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B4A089F.3090908@freemail.hu \
--to=nm127@freemail.hu \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox