mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-06 05:44:20 +08:00
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>
This commit is contained in:
parent
8eea455e6d
commit
00fc8958c9
@ -1473,7 +1473,7 @@ static void __devexit cx25821_finidev(struct pci_dev *pci_dev)
|
|||||||
kfree(dev);
|
kfree(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct pci_device_id cx25821_pci_tbl[] = {
|
static DEFINE_PCI_DEVICE_TABLE(cx25821_pci_tbl) = {
|
||||||
{
|
{
|
||||||
/* CX25821 Athena */
|
/* CX25821 Athena */
|
||||||
.vendor = 0x14f1,
|
.vendor = 0x14f1,
|
||||||
|
Loading…
Reference in New Issue
Block a user