mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
Staging: vme_tsi148: use DEFINE_PCI_DEVICE_TABLE
Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2cea0cf284
commit
270b64bb4c
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ static int geoid;
|
||||||
|
|
||||||
static char driver_name[] = "vme_tsi148";
|
static char driver_name[] = "vme_tsi148";
|
||||||
|
|
||||||
static const struct pci_device_id tsi148_ids[] = {
|
static DEFINE_PCI_DEVICE_TABLE(tsi148_ids) = {
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_TSI148) },
|
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_TSI148) },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue