Staging: vme_tsi148: use DEFINE_PCI_DEVICE_TABLE
authorNamhyung Kim <namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:29 +0000 (01:40 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:29:47 +0000 (16:29 -0800)
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>
drivers/staging/vme/bridges/vme_tsi148.c

index 9550b4a8f93acb06d2e39c58b297a47a1660fd5b..26ea42fa784d702b0122bfe3121a1d71d2675fc7 100644 (file)
@@ -46,7 +46,7 @@ static int geoid;
 
 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) },
        { },
 };