Terminate id_table_3dfx list with an empty element

This commit is contained in:
guillemj
2008-06-22 07:52:30 +00:00
parent 2832abfc79
commit ec48aba80f
2 changed files with 6 additions and 0 deletions

View File

@@ -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 {

View File

@@ -1,3 +1,8 @@
2008-06-22 Guillem Jover <guillem@hadrons.org>
* 3dfx_driver.c (id_table_3dfx): Terminate the list with an empty
element.
2008-06-22 Guillem Jover <guillem@hadrons.org>
* 3dfx_driver.c (pci_get_device): On Linux < 2.5.73 define it as