Commit 2cea0cf2 authored by Namhyung Kim's avatar Namhyung Kim Committed by Greg Kroah-Hartman

Staging: vme_ca91cx42: use DEFINE_PCI_DEVICE_TABLE

Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'.
Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 310d6052
...@@ -44,7 +44,7 @@ static int geoid; ...@@ -44,7 +44,7 @@ static int geoid;
static char driver_name[] = "vme_ca91cx42"; static char driver_name[] = "vme_ca91cx42";
static const struct pci_device_id ca91cx42_ids[] = { static DEFINE_PCI_DEVICE_TABLE(ca91cx42_ids) = {
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_CA91C142) }, { PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_CA91C142) },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment