Terminate id_table_3dfx list with an empty element
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user