aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/tgafb.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2007-02-12 03:54:58 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:41 -0500
commitfef459028bd842dde21bf55f83d6399b963f9911 (patch)
tree89e126e689e11ac21b80b4cc659f64ea89556055 /drivers/video/tgafb.c
parenta524d946bdced73c5fbe60170fb33611491c4211 (diff)
[PATCH] tgafb: Fix the PCI ID table
The end marker is missing from the driver's PCI ID table. This set of changes adds the marker, switches to using PCI_DEVICE() and records the table for the use in a module. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: James Simmons <jsimmons@infradead.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/video/tgafb.c')
-rw-r--r--drivers/video/tgafb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c
index 781ca7f77c09..b604859b4ddb 100644
--- a/drivers/video/tgafb.c
+++ b/drivers/video/tgafb.c
@@ -71,9 +71,10 @@ static struct fb_ops tgafb_ops = {
71 */ 71 */
72 72
73static struct pci_device_id const tgafb_pci_table[] = { 73static struct pci_device_id const tgafb_pci_table[] = {
74 { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TGA, PCI_ANY_ID, PCI_ANY_ID, 74 { PCI_DEVICE(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TGA) },
75 0, 0, 0 } 75 { }
76}; 76};
77MODULE_DEVICE_TABLE(pci, tgafb_pci_table);
77 78
78static struct pci_driver tgafb_driver = { 79static struct pci_driver tgafb_driver = {
79 .name = "tgafb", 80 .name = "tgafb",