Staging: cx25821: Use DEFINE_PCI_DEVICE_TABLE for cx25821_pci_tbl
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Fri, 2 Sep 2011 03:55:33 +0000 (11:55 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Sep 2011 14:46:05 +0000 (16:46 +0200)
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>
drivers/staging/cx25821/cx25821-core.c

index 8e8a56d253e27062d8f85b8532eab606d3dc9efd..26d2879f60e55d6a7514199ce7109b0f1a4f9a98 100644 (file)
@@ -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,