Browse Source

Staging: cx25821: Use DEFINE_PCI_DEVICE_TABLE for cx25821_pci_tbl

Use DEFINE_PCI_DEVICE_TABLE for cx25821_pci_tbl

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Reviewed-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Leonid V. Fedorenchik 14 years ago
parent
commit
00fc8958c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/cx25821/cx25821-core.c

+ 1 - 1
drivers/staging/cx25821/cx25821-core.c

@@ -1473,7 +1473,7 @@ static void __devexit cx25821_finidev(struct pci_dev *pci_dev)
 	kfree(dev);
 }
 
-static struct pci_device_id cx25821_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(cx25821_pci_tbl) = {
 	{
 	 /* CX25821 Athena */
 	 .vendor = 0x14f1,