From: Leonid V. Fedorenchik Date: Fri, 2 Sep 2011 03:55:33 +0000 (+0800) Subject: Staging: cx25821: Use DEFINE_PCI_DEVICE_TABLE for cx25821_pci_tbl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00fc8958c98d9f03e27fe81c8b3a3eeb82edb4cd;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-By: Valdis Kletnieks Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cx25821/cx25821-core.c b/drivers/staging/cx25821/cx25821-core.c index 8e8a56d253e2..26d2879f60e5 100644 --- a/drivers/staging/cx25821/cx25821-core.c +++ b/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,