From ec48aba80f010d7e4de220f1b332fde24738273a Mon Sep 17 00:00:00 2001 From: guillemj <> Date: Sun, 22 Jun 2008 07:52:30 +0000 Subject: [PATCH] Terminate id_table_3dfx list with an empty element --- Device3Dfx/3dfx_driver.c | 1 + Device3Dfx/ChangeLog | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Device3Dfx/3dfx_driver.c b/Device3Dfx/3dfx_driver.c index 83051cc..68e4965 100644 --- a/Device3Dfx/3dfx_driver.c +++ b/Device3Dfx/3dfx_driver.c @@ -166,6 +166,7 @@ static struct pci_device_id id_table_3dfx[] = { PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_VOODOO4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, + { 0, } }; #else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) */ static struct pci_card { diff --git a/Device3Dfx/ChangeLog b/Device3Dfx/ChangeLog index 59eaa7f..246903f 100644 --- a/Device3Dfx/ChangeLog +++ b/Device3Dfx/ChangeLog @@ -1,3 +1,8 @@ +2008-06-22 Guillem Jover + + * 3dfx_driver.c (id_table_3dfx): Terminate the list with an empty + element. + 2008-06-22 Guillem Jover * 3dfx_driver.c (pci_get_device): On Linux < 2.5.73 define it as