提交 41e043fc 编写于 作者: J Jingoo Han 提交者: Greg Kroah-Hartman

staging: remove DEFINE_PCI_DEVICE_TABLE macro

Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 06749f19
...@@ -257,7 +257,7 @@ static int pci_8255_pci_probe(struct pci_dev *dev, ...@@ -257,7 +257,7 @@ static int pci_8255_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &pci_8255_driver, id->driver_data); return comedi_pci_auto_config(dev, &pci_8255_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(pci_8255_pci_table) = { static const struct pci_device_id pci_8255_pci_table[] = {
{ PCI_VDEVICE(ADLINK, 0x7224), BOARD_ADLINK_PCI7224 }, { PCI_VDEVICE(ADLINK, 0x7224), BOARD_ADLINK_PCI7224 },
{ PCI_VDEVICE(ADLINK, 0x7248), BOARD_ADLINK_PCI7248 }, { PCI_VDEVICE(ADLINK, 0x7248), BOARD_ADLINK_PCI7248 },
{ PCI_VDEVICE(ADLINK, 0x7296), BOARD_ADLINK_PCI7296 }, { PCI_VDEVICE(ADLINK, 0x7296), BOARD_ADLINK_PCI7296 },
......
...@@ -58,7 +58,7 @@ static int apci035_pci_probe(struct pci_dev *dev, ...@@ -58,7 +58,7 @@ static int apci035_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci035_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci035_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci035_pci_table) = { static const struct pci_device_id apci035_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x0300) }, { PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x0300) },
{ 0 } { 0 }
}; };
......
...@@ -364,7 +364,7 @@ static int apci1032_pci_probe(struct pci_dev *dev, ...@@ -364,7 +364,7 @@ static int apci1032_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci1032_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci1032_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci1032_pci_table) = { static const struct pci_device_id apci1032_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1003) }, { PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1003) },
{ 0 } { 0 }
}; };
......
...@@ -57,7 +57,7 @@ static int apci1500_pci_probe(struct pci_dev *dev, ...@@ -57,7 +57,7 @@ static int apci1500_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci1500_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci1500_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci1500_pci_table) = { static const struct pci_device_id apci1500_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_AMCC, 0x80fc) }, { PCI_DEVICE(PCI_VENDOR_ID_AMCC, 0x80fc) },
{ 0 } { 0 }
}; };
......
...@@ -206,7 +206,7 @@ static int apci1516_pci_probe(struct pci_dev *dev, ...@@ -206,7 +206,7 @@ static int apci1516_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci1516_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci1516_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci1516_pci_table) = { static const struct pci_device_id apci1516_pci_table[] = {
{ PCI_VDEVICE(ADDIDATA, 0x1000), BOARD_APCI1016 }, { PCI_VDEVICE(ADDIDATA, 0x1000), BOARD_APCI1016 },
{ PCI_VDEVICE(ADDIDATA, 0x1001), BOARD_APCI1516 }, { PCI_VDEVICE(ADDIDATA, 0x1001), BOARD_APCI1516 },
{ PCI_VDEVICE(ADDIDATA, 0x1002), BOARD_APCI2016 }, { PCI_VDEVICE(ADDIDATA, 0x1002), BOARD_APCI2016 },
......
...@@ -55,7 +55,7 @@ static int apci1564_pci_probe(struct pci_dev *dev, ...@@ -55,7 +55,7 @@ static int apci1564_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci1564_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci1564_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci1564_pci_table) = { static const struct pci_device_id apci1564_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1006) }, { PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1006) },
{ 0 } { 0 }
}; };
......
...@@ -168,7 +168,7 @@ static int apci16xx_pci_probe(struct pci_dev *dev, ...@@ -168,7 +168,7 @@ static int apci16xx_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci16xx_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci16xx_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci16xx_pci_table) = { static const struct pci_device_id apci16xx_pci_table[] = {
{ PCI_VDEVICE(ADDIDATA, 0x1009), BOARD_APCI1648 }, { PCI_VDEVICE(ADDIDATA, 0x1009), BOARD_APCI1648 },
{ PCI_VDEVICE(ADDIDATA, 0x100a), BOARD_APCI1696 }, { PCI_VDEVICE(ADDIDATA, 0x100a), BOARD_APCI1696 },
{ 0 } { 0 }
......
...@@ -359,7 +359,7 @@ static int apci2032_pci_probe(struct pci_dev *dev, ...@@ -359,7 +359,7 @@ static int apci2032_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci2032_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci2032_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci2032_pci_table) = { static const struct pci_device_id apci2032_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1004) }, { PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1004) },
{ 0 } { 0 }
}; };
......
...@@ -134,7 +134,7 @@ static int apci2200_pci_probe(struct pci_dev *dev, ...@@ -134,7 +134,7 @@ static int apci2200_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci2200_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci2200_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci2200_pci_table) = { static const struct pci_device_id apci2200_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1005) }, { PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1005) },
{ 0 } { 0 }
}; };
......
...@@ -230,7 +230,7 @@ static int apci3120_pci_probe(struct pci_dev *dev, ...@@ -230,7 +230,7 @@ static int apci3120_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci3120_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci3120_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci3120_pci_table) = { static const struct pci_device_id apci3120_pci_table[] = {
{ PCI_VDEVICE(AMCC, 0x818d), BOARD_APCI3120 }, { PCI_VDEVICE(AMCC, 0x818d), BOARD_APCI3120 },
{ PCI_VDEVICE(AMCC, 0x828d), BOARD_APCI3001 }, { PCI_VDEVICE(AMCC, 0x828d), BOARD_APCI3001 },
{ 0 } { 0 }
......
...@@ -109,7 +109,7 @@ static int apci3200_pci_probe(struct pci_dev *dev, ...@@ -109,7 +109,7 @@ static int apci3200_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci3200_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci3200_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci3200_pci_table) = { static const struct pci_device_id apci3200_pci_table[] = {
{ PCI_VDEVICE(ADDIDATA, 0x3000), BOARD_APCI3200 }, { PCI_VDEVICE(ADDIDATA, 0x3000), BOARD_APCI3200 },
{ PCI_VDEVICE(ADDIDATA, 0x3007), BOARD_APCI3300 }, { PCI_VDEVICE(ADDIDATA, 0x3007), BOARD_APCI3300 },
{ 0 } { 0 }
......
...@@ -428,7 +428,7 @@ static int apci3501_pci_probe(struct pci_dev *dev, ...@@ -428,7 +428,7 @@ static int apci3501_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci3501_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci3501_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci3501_pci_table) = { static const struct pci_device_id apci3501_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x3001) }, { PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x3001) },
{ 0 } { 0 }
}; };
......
...@@ -915,7 +915,7 @@ static int apci3xxx_pci_probe(struct pci_dev *dev, ...@@ -915,7 +915,7 @@ static int apci3xxx_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &apci3xxx_driver, id->driver_data); return comedi_pci_auto_config(dev, &apci3xxx_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(apci3xxx_pci_table) = { static const struct pci_device_id apci3xxx_pci_table[] = {
{ PCI_VDEVICE(ADDIDATA, 0x3010), BOARD_APCI3000_16 }, { PCI_VDEVICE(ADDIDATA, 0x3010), BOARD_APCI3000_16 },
{ PCI_VDEVICE(ADDIDATA, 0x300f), BOARD_APCI3000_8 }, { PCI_VDEVICE(ADDIDATA, 0x300f), BOARD_APCI3000_8 },
{ PCI_VDEVICE(ADDIDATA, 0x300e), BOARD_APCI3000_4 }, { PCI_VDEVICE(ADDIDATA, 0x300e), BOARD_APCI3000_4 },
......
...@@ -242,7 +242,7 @@ static int adl_pci6208_pci_probe(struct pci_dev *dev, ...@@ -242,7 +242,7 @@ static int adl_pci6208_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(adl_pci6208_pci_table) = { static const struct pci_device_id adl_pci6208_pci_table[] = {
{ PCI_VDEVICE(ADLINK, 0x6208), BOARD_PCI6208 }, { PCI_VDEVICE(ADLINK, 0x6208), BOARD_PCI6208 },
{ PCI_VDEVICE(ADLINK, 0x6216), BOARD_PCI6216 }, { PCI_VDEVICE(ADLINK, 0x6216), BOARD_PCI6216 },
{ 0 } { 0 }
......
...@@ -259,7 +259,7 @@ static int adl_pci7x3x_pci_probe(struct pci_dev *dev, ...@@ -259,7 +259,7 @@ static int adl_pci7x3x_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(adl_pci7x3x_pci_table) = { static const struct pci_device_id adl_pci7x3x_pci_table[] = {
{ PCI_VDEVICE(ADLINK, 0x7230), BOARD_PCI7230 }, { PCI_VDEVICE(ADLINK, 0x7230), BOARD_PCI7230 },
{ PCI_VDEVICE(ADLINK, 0x7233), BOARD_PCI7233 }, { PCI_VDEVICE(ADLINK, 0x7233), BOARD_PCI7233 },
{ PCI_VDEVICE(ADLINK, 0x7234), BOARD_PCI7234 }, { PCI_VDEVICE(ADLINK, 0x7234), BOARD_PCI7234 },
......
...@@ -145,7 +145,7 @@ static int adl_pci8164_pci_probe(struct pci_dev *dev, ...@@ -145,7 +145,7 @@ static int adl_pci8164_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(adl_pci8164_pci_table) = { static const struct pci_device_id adl_pci8164_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADLINK, 0x8164) }, { PCI_DEVICE(PCI_VENDOR_ID_ADLINK, 0x8164) },
{ 0 } { 0 }
}; };
......
...@@ -938,7 +938,7 @@ static int pci9111_pci_probe(struct pci_dev *dev, ...@@ -938,7 +938,7 @@ static int pci9111_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(pci9111_pci_table) = { static const struct pci_device_id pci9111_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADLINK, PCI9111_HR_DEVICE_ID) }, { PCI_DEVICE(PCI_VENDOR_ID_ADLINK, PCI9111_HR_DEVICE_ID) },
/* { PCI_DEVICE(PCI_VENDOR_ID_ADLINK, PCI9111_HG_DEVICE_ID) }, */ /* { PCI_DEVICE(PCI_VENDOR_ID_ADLINK, PCI9111_HG_DEVICE_ID) }, */
{ 0 } { 0 }
......
...@@ -2217,7 +2217,7 @@ static int adl_pci9118_pci_probe(struct pci_dev *dev, ...@@ -2217,7 +2217,7 @@ static int adl_pci9118_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(adl_pci9118_pci_table) = { static const struct pci_device_id adl_pci9118_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_AMCC, 0x80d9) }, { PCI_DEVICE(PCI_VENDOR_ID_AMCC, 0x80d9) },
{ 0 } { 0 }
}; };
......
...@@ -1374,7 +1374,7 @@ static int adv_pci1710_pci_probe(struct pci_dev *dev, ...@@ -1374,7 +1374,7 @@ static int adv_pci1710_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(adv_pci1710_pci_table) = { static const struct pci_device_id adv_pci1710_pci_table[] = {
{ {
PCI_DEVICE_SUB(PCI_VENDOR_ID_ADVANTECH, 0x1710, PCI_DEVICE_SUB(PCI_VENDOR_ID_ADVANTECH, 0x1710,
PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050), PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050),
......
...@@ -306,7 +306,7 @@ static int adv_pci1723_pci_probe(struct pci_dev *dev, ...@@ -306,7 +306,7 @@ static int adv_pci1723_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(adv_pci1723_pci_table) = { static const struct pci_device_id adv_pci1723_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADVANTECH, 0x1723) }, { PCI_DEVICE(PCI_VENDOR_ID_ADVANTECH, 0x1723) },
{ 0 } { 0 }
}; };
......
...@@ -381,7 +381,7 @@ static int adv_pci1724_pci_probe(struct pci_dev *dev, ...@@ -381,7 +381,7 @@ static int adv_pci1724_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(adv_pci1724_pci_table) = { static const struct pci_device_id adv_pci1724_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ADVANTECH, 0x1724) }, { PCI_DEVICE(PCI_VENDOR_ID_ADVANTECH, 0x1724) },
{ 0 } { 0 }
}; };
......
...@@ -1188,7 +1188,7 @@ static int adv_pci_dio_pci_probe(struct pci_dev *dev, ...@@ -1188,7 +1188,7 @@ static int adv_pci_dio_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &adv_pci_dio_driver, cardtype); return comedi_pci_auto_config(dev, &adv_pci_dio_driver, cardtype);
} }
static DEFINE_PCI_DEVICE_TABLE(adv_pci_dio_pci_table) = { static const struct pci_device_id adv_pci_dio_pci_table[] = {
{ PCI_VDEVICE(ADVANTECH, 0x1730), TYPE_PCI1730 }, { PCI_VDEVICE(ADVANTECH, 0x1730), TYPE_PCI1730 },
{ PCI_VDEVICE(ADVANTECH, 0x1733), TYPE_PCI1733 }, { PCI_VDEVICE(ADVANTECH, 0x1733), TYPE_PCI1733 },
{ PCI_VDEVICE(ADVANTECH, 0x1734), TYPE_PCI1734 }, { PCI_VDEVICE(ADVANTECH, 0x1734), TYPE_PCI1734 },
......
...@@ -439,7 +439,7 @@ static struct comedi_driver dio200_pci_comedi_driver = { ...@@ -439,7 +439,7 @@ static struct comedi_driver dio200_pci_comedi_driver = {
.detach = dio200_pci_detach, .detach = dio200_pci_detach,
}; };
static DEFINE_PCI_DEVICE_TABLE(dio200_pci_table) = { static const struct pci_device_id dio200_pci_table[] = {
{ {
PCI_VDEVICE(AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI215), PCI_VDEVICE(AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI215),
pci215_model pci215_model
......
...@@ -567,7 +567,7 @@ static struct comedi_driver amplc_pc236_driver = { ...@@ -567,7 +567,7 @@ static struct comedi_driver amplc_pc236_driver = {
}; };
#if DO_PCI #if DO_PCI
static DEFINE_PCI_DEVICE_TABLE(pc236_pci_table) = { static const struct pci_device_id pc236_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI236) }, { PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI236) },
{0} {0}
}; };
......
...@@ -1496,7 +1496,7 @@ static int amplc_pci224_pci_probe(struct pci_dev *dev, ...@@ -1496,7 +1496,7 @@ static int amplc_pci224_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(amplc_pci224_pci_table) = { static const struct pci_device_id amplc_pci224_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI224) }, { PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI224) },
{ PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI234) }, { PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI234) },
{ 0 } { 0 }
......
...@@ -2852,7 +2852,7 @@ static int amplc_pci230_pci_probe(struct pci_dev *dev, ...@@ -2852,7 +2852,7 @@ static int amplc_pci230_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(amplc_pci230_pci_table) = { static const struct pci_device_id amplc_pci230_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_PCI230) }, { PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_PCI230) },
{ PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_PCI260) }, { PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_PCI260) },
{ 0 } { 0 }
......
...@@ -96,7 +96,7 @@ static struct comedi_driver amplc_pci263_driver = { ...@@ -96,7 +96,7 @@ static struct comedi_driver amplc_pci263_driver = {
.detach = comedi_pci_disable, .detach = comedi_pci_disable,
}; };
static DEFINE_PCI_DEVICE_TABLE(pci263_pci_table) = { static const struct pci_device_id pci263_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI263) }, { PCI_DEVICE(PCI_VENDOR_ID_AMPLICON, PCI_DEVICE_ID_AMPLICON_PCI263) },
{0} {0}
}; };
......
...@@ -1614,7 +1614,7 @@ static int cb_pcidas_pci_probe(struct pci_dev *dev, ...@@ -1614,7 +1614,7 @@ static int cb_pcidas_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(cb_pcidas_pci_table) = { static const struct pci_device_id cb_pcidas_pci_table[] = {
{ PCI_VDEVICE(CB, 0x0001), BOARD_PCIDAS1602_16 }, { PCI_VDEVICE(CB, 0x0001), BOARD_PCIDAS1602_16 },
{ PCI_VDEVICE(CB, 0x000f), BOARD_PCIDAS1200 }, { PCI_VDEVICE(CB, 0x000f), BOARD_PCIDAS1200 },
{ PCI_VDEVICE(CB, 0x0010), BOARD_PCIDAS1602_12 }, { PCI_VDEVICE(CB, 0x0010), BOARD_PCIDAS1602_12 },
......
...@@ -4041,7 +4041,7 @@ static int cb_pcidas64_pci_probe(struct pci_dev *dev, ...@@ -4041,7 +4041,7 @@ static int cb_pcidas64_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(cb_pcidas64_pci_table) = { static const struct pci_device_id cb_pcidas64_pci_table[] = {
{ PCI_VDEVICE(CB, 0x001d), BOARD_PCIDAS6402_16 }, { PCI_VDEVICE(CB, 0x001d), BOARD_PCIDAS6402_16 },
{ PCI_VDEVICE(CB, 0x001e), BOARD_PCIDAS6402_12 }, { PCI_VDEVICE(CB, 0x001e), BOARD_PCIDAS6402_12 },
{ PCI_VDEVICE(CB, 0x0035), BOARD_PCIDAS64_M1_16 }, { PCI_VDEVICE(CB, 0x0035), BOARD_PCIDAS64_M1_16 },
......
...@@ -407,7 +407,7 @@ static int cb_pcidda_pci_probe(struct pci_dev *dev, ...@@ -407,7 +407,7 @@ static int cb_pcidda_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(cb_pcidda_pci_table) = { static const struct pci_device_id cb_pcidda_pci_table[] = {
{ PCI_VDEVICE(CB, 0x0020), BOARD_DDA02_12 }, { PCI_VDEVICE(CB, 0x0020), BOARD_DDA02_12 },
{ PCI_VDEVICE(CB, 0x0021), BOARD_DDA04_12 }, { PCI_VDEVICE(CB, 0x0021), BOARD_DDA04_12 },
{ PCI_VDEVICE(CB, 0x0022), BOARD_DDA08_12 }, { PCI_VDEVICE(CB, 0x0022), BOARD_DDA08_12 },
......
...@@ -285,7 +285,7 @@ static int cb_pcimdas_pci_probe(struct pci_dev *dev, ...@@ -285,7 +285,7 @@ static int cb_pcimdas_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(cb_pcimdas_pci_table) = { static const struct pci_device_id cb_pcimdas_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_CB, 0x0056) }, { PCI_DEVICE(PCI_VENDOR_ID_CB, 0x0056) },
{ 0 } { 0 }
}; };
......
...@@ -206,7 +206,7 @@ static int cb_pcimdda_pci_probe(struct pci_dev *dev, ...@@ -206,7 +206,7 @@ static int cb_pcimdda_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(cb_pcimdda_pci_table) = { static const struct pci_device_id cb_pcimdda_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_CB, PCI_ID_PCIM_DDA06_16) }, { PCI_DEVICE(PCI_VENDOR_ID_CB, PCI_ID_PCIM_DDA06_16) },
{ 0 } { 0 }
}; };
......
...@@ -111,7 +111,7 @@ static int contec_pci_dio_pci_probe(struct pci_dev *dev, ...@@ -111,7 +111,7 @@ static int contec_pci_dio_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(contec_pci_dio_pci_table) = { static const struct pci_device_id contec_pci_dio_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_CONTEC, PCI_DEVICE_ID_PIO1616L) }, { PCI_DEVICE(PCI_VENDOR_ID_CONTEC, PCI_DEVICE_ID_PIO1616L) },
{ 0 } { 0 }
}; };
......
...@@ -772,7 +772,7 @@ static int daqboard2000_pci_probe(struct pci_dev *dev, ...@@ -772,7 +772,7 @@ static int daqboard2000_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(daqboard2000_pci_table) = { static const struct pci_device_id daqboard2000_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_IOTECH, 0x0409) }, { PCI_DEVICE(PCI_VENDOR_ID_IOTECH, 0x0409) },
{ 0 } { 0 }
}; };
......
...@@ -89,7 +89,7 @@ static int das08_pci_probe(struct pci_dev *dev, ...@@ -89,7 +89,7 @@ static int das08_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(das08_pci_table) = { static const struct pci_device_id das08_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_CB, PCI_DEVICE_ID_PCIDAS08) }, { PCI_DEVICE(PCI_VENDOR_ID_CB, PCI_DEVICE_ID_PCIDAS08) },
{ 0 } { 0 }
}; };
......
...@@ -795,7 +795,7 @@ static int dt3000_pci_probe(struct pci_dev *dev, ...@@ -795,7 +795,7 @@ static int dt3000_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &dt3000_driver, id->driver_data); return comedi_pci_auto_config(dev, &dt3000_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(dt3000_pci_table) = { static const struct pci_device_id dt3000_pci_table[] = {
{ PCI_VDEVICE(DT, 0x0022), BOARD_DT3001 }, { PCI_VDEVICE(DT, 0x0022), BOARD_DT3001 },
{ PCI_VDEVICE(DT, 0x0023), BOARD_DT3002 }, { PCI_VDEVICE(DT, 0x0023), BOARD_DT3002 },
{ PCI_VDEVICE(DT, 0x0024), BOARD_DT3003 }, { PCI_VDEVICE(DT, 0x0024), BOARD_DT3003 },
......
...@@ -259,7 +259,7 @@ static int dyna_pci10xx_pci_probe(struct pci_dev *dev, ...@@ -259,7 +259,7 @@ static int dyna_pci10xx_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(dyna_pci10xx_pci_table) = { static const struct pci_device_id dyna_pci10xx_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_PLX, 0x1050) }, { PCI_DEVICE(PCI_VENDOR_ID_PLX, 0x1050) },
{ 0 } { 0 }
}; };
......
...@@ -836,7 +836,7 @@ static int gsc_hpdi_pci_probe(struct pci_dev *dev, ...@@ -836,7 +836,7 @@ static int gsc_hpdi_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &gsc_hpdi_driver, id->driver_data); return comedi_pci_auto_config(dev, &gsc_hpdi_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(gsc_hpdi_pci_table) = { static const struct pci_device_id gsc_hpdi_pci_table[] = {
{ PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9080, PCI_VENDOR_ID_PLX, { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9080, PCI_VENDOR_ID_PLX,
0x2400, 0, 0, 0}, 0x2400, 0, 0, 0},
{ 0 } { 0 }
......
...@@ -597,7 +597,7 @@ static int icp_multi_pci_probe(struct pci_dev *dev, ...@@ -597,7 +597,7 @@ static int icp_multi_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &icp_multi_driver, id->driver_data); return comedi_pci_auto_config(dev, &icp_multi_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(icp_multi_pci_table) = { static const struct pci_device_id icp_multi_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ICP, PCI_DEVICE_ID_ICP_MULTI) }, { PCI_DEVICE(PCI_VENDOR_ID_ICP, PCI_DEVICE_ID_ICP_MULTI) },
{ 0 } { 0 }
}; };
......
...@@ -807,7 +807,7 @@ static int jr3_pci_pci_probe(struct pci_dev *dev, ...@@ -807,7 +807,7 @@ static int jr3_pci_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &jr3_pci_driver, id->driver_data); return comedi_pci_auto_config(dev, &jr3_pci_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(jr3_pci_pci_table) = { static const struct pci_device_id jr3_pci_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_JR3, PCI_DEVICE_ID_JR3_1_CHANNEL) }, { PCI_DEVICE(PCI_VENDOR_ID_JR3, PCI_DEVICE_ID_JR3_1_CHANNEL) },
{ PCI_DEVICE(PCI_VENDOR_ID_JR3, PCI_DEVICE_ID_JR3_1_CHANNEL_NEW) }, { PCI_DEVICE(PCI_VENDOR_ID_JR3, PCI_DEVICE_ID_JR3_1_CHANNEL_NEW) },
{ PCI_DEVICE(PCI_VENDOR_ID_JR3, PCI_DEVICE_ID_JR3_2_CHANNEL) }, { PCI_DEVICE(PCI_VENDOR_ID_JR3, PCI_DEVICE_ID_JR3_2_CHANNEL) },
......
...@@ -139,7 +139,7 @@ static int ke_counter_pci_probe(struct pci_dev *dev, ...@@ -139,7 +139,7 @@ static int ke_counter_pci_probe(struct pci_dev *dev,
id->driver_data); id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(ke_counter_pci_table) = { static const struct pci_device_id ke_counter_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_KOLTER, CNT_CARD_DEVICE_ID) }, { PCI_DEVICE(PCI_VENDOR_ID_KOLTER, CNT_CARD_DEVICE_ID) },
{ 0 } { 0 }
}; };
......
...@@ -1635,7 +1635,7 @@ static int me4000_pci_probe(struct pci_dev *dev, ...@@ -1635,7 +1635,7 @@ static int me4000_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &me4000_driver, id->driver_data); return comedi_pci_auto_config(dev, &me4000_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(me4000_pci_table) = { static const struct pci_device_id me4000_pci_table[] = {
{ PCI_VDEVICE(MEILHAUS, 0x4650), BOARD_ME4650 }, { PCI_VDEVICE(MEILHAUS, 0x4650), BOARD_ME4650 },
{ PCI_VDEVICE(MEILHAUS, 0x4660), BOARD_ME4660 }, { PCI_VDEVICE(MEILHAUS, 0x4660), BOARD_ME4660 },
{ PCI_VDEVICE(MEILHAUS, 0x4661), BOARD_ME4660I }, { PCI_VDEVICE(MEILHAUS, 0x4661), BOARD_ME4660I },
......
...@@ -576,7 +576,7 @@ static int me_daq_pci_probe(struct pci_dev *dev, ...@@ -576,7 +576,7 @@ static int me_daq_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &me_daq_driver, id->driver_data); return comedi_pci_auto_config(dev, &me_daq_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(me_daq_pci_table) = { static const struct pci_device_id me_daq_pci_table[] = {
{ PCI_VDEVICE(MEILHAUS, 0x2600), BOARD_ME2600 }, { PCI_VDEVICE(MEILHAUS, 0x2600), BOARD_ME2600 },
{ PCI_VDEVICE(MEILHAUS, 0x2000), BOARD_ME2000 }, { PCI_VDEVICE(MEILHAUS, 0x2000), BOARD_ME2000 },
{ 0 } { 0 }
......
...@@ -455,7 +455,7 @@ static int ni6527_pci_probe(struct pci_dev *dev, ...@@ -455,7 +455,7 @@ static int ni6527_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &ni6527_driver, id->driver_data); return comedi_pci_auto_config(dev, &ni6527_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(ni6527_pci_table) = { static const struct pci_device_id ni6527_pci_table[] = {
{ PCI_VDEVICE(NI, 0x2b10), BOARD_PXI6527 }, { PCI_VDEVICE(NI, 0x2b10), BOARD_PXI6527 },
{ PCI_VDEVICE(NI, 0x2b20), BOARD_PCI6527 }, { PCI_VDEVICE(NI, 0x2b20), BOARD_PCI6527 },
{ 0 } { 0 }
......
...@@ -738,7 +738,7 @@ static int ni_65xx_pci_probe(struct pci_dev *dev, ...@@ -738,7 +738,7 @@ static int ni_65xx_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &ni_65xx_driver, id->driver_data); return comedi_pci_auto_config(dev, &ni_65xx_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(ni_65xx_pci_table) = { static const struct pci_device_id ni_65xx_pci_table[] = {
{ PCI_VDEVICE(NI, 0x1710), BOARD_PXI6509 }, { PCI_VDEVICE(NI, 0x1710), BOARD_PXI6509 },
{ PCI_VDEVICE(NI, 0x7085), BOARD_PCI6509 }, { PCI_VDEVICE(NI, 0x7085), BOARD_PCI6509 },
{ PCI_VDEVICE(NI, 0x7086), BOARD_PXI6528 }, { PCI_VDEVICE(NI, 0x7086), BOARD_PXI6528 },
......
...@@ -1320,7 +1320,7 @@ static int ni_660x_pci_probe(struct pci_dev *dev, ...@@ -1320,7 +1320,7 @@ static int ni_660x_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &ni_660x_driver, id->driver_data); return comedi_pci_auto_config(dev, &ni_660x_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(ni_660x_pci_table) = { static const struct pci_device_id ni_660x_pci_table[] = {
{ PCI_VDEVICE(NI, 0x1310), BOARD_PCI6602 }, { PCI_VDEVICE(NI, 0x1310), BOARD_PCI6602 },
{ PCI_VDEVICE(NI, 0x1360), BOARD_PXI6602 }, { PCI_VDEVICE(NI, 0x1360), BOARD_PXI6602 },
{ PCI_VDEVICE(NI, 0x2c60), BOARD_PCI6601 }, { PCI_VDEVICE(NI, 0x2c60), BOARD_PCI6601 },
......
...@@ -282,7 +282,7 @@ static int ni_670x_pci_probe(struct pci_dev *dev, ...@@ -282,7 +282,7 @@ static int ni_670x_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &ni_670x_driver, id->driver_data); return comedi_pci_auto_config(dev, &ni_670x_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(ni_670x_pci_table) = { static const struct pci_device_id ni_670x_pci_table[] = {
{ PCI_VDEVICE(NI, 0x1290), BOARD_PCI6704 }, { PCI_VDEVICE(NI, 0x1290), BOARD_PCI6704 },
{ PCI_VDEVICE(NI, 0x1920), BOARD_PXI6704 }, { PCI_VDEVICE(NI, 0x1920), BOARD_PXI6704 },
{ PCI_VDEVICE(NI, 0x2c90), BOARD_PCI6703 }, { PCI_VDEVICE(NI, 0x2c90), BOARD_PCI6703 },
......
...@@ -107,7 +107,7 @@ static struct comedi_driver labpc_pci_comedi_driver = { ...@@ -107,7 +107,7 @@ static struct comedi_driver labpc_pci_comedi_driver = {
.detach = labpc_pci_detach, .detach = labpc_pci_detach,
}; };
static DEFINE_PCI_DEVICE_TABLE(labpc_pci_table) = { static const struct pci_device_id labpc_pci_table[] = {
{ PCI_VDEVICE(NI, 0x161), BOARD_NI_PCI1200 }, { PCI_VDEVICE(NI, 0x161), BOARD_NI_PCI1200 },
{ 0 } { 0 }
}; };
......
...@@ -1075,7 +1075,7 @@ static int ni_pcidio_pci_probe(struct pci_dev *dev, ...@@ -1075,7 +1075,7 @@ static int ni_pcidio_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &ni_pcidio_driver, id->driver_data); return comedi_pci_auto_config(dev, &ni_pcidio_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(ni_pcidio_pci_table) = { static const struct pci_device_id ni_pcidio_pci_table[] = {
{ PCI_VDEVICE(NI, 0x1150), BOARD_PCIDIO_32HS }, { PCI_VDEVICE(NI, 0x1150), BOARD_PCIDIO_32HS },
{ PCI_VDEVICE(NI, 0x12b0), BOARD_PCI6534 }, { PCI_VDEVICE(NI, 0x12b0), BOARD_PCI6534 },
{ PCI_VDEVICE(NI, 0x1320), BOARD_PXI6533 }, { PCI_VDEVICE(NI, 0x1320), BOARD_PXI6533 },
......
...@@ -1637,7 +1637,7 @@ static int ni_pcimio_pci_probe(struct pci_dev *dev, ...@@ -1637,7 +1637,7 @@ static int ni_pcimio_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &ni_pcimio_driver, id->driver_data); return comedi_pci_auto_config(dev, &ni_pcimio_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(ni_pcimio_pci_table) = { static const struct pci_device_id ni_pcimio_pci_table[] = {
{ PCI_VDEVICE(NI, 0x0162), BOARD_PCIMIO_16XE_50 }, /* 0x1620? */ { PCI_VDEVICE(NI, 0x0162), BOARD_PCIMIO_16XE_50 }, /* 0x1620? */
{ PCI_VDEVICE(NI, 0x1170), BOARD_PCIMIO_16XE_10 }, { PCI_VDEVICE(NI, 0x1170), BOARD_PCIMIO_16XE_10 },
{ PCI_VDEVICE(NI, 0x1180), BOARD_PCIMIO_16E_1 }, { PCI_VDEVICE(NI, 0x1180), BOARD_PCIMIO_16E_1 },
......
...@@ -1427,7 +1427,7 @@ static int rtd520_pci_probe(struct pci_dev *dev, ...@@ -1427,7 +1427,7 @@ static int rtd520_pci_probe(struct pci_dev *dev,
return comedi_pci_auto_config(dev, &rtd520_driver, id->driver_data); return comedi_pci_auto_config(dev, &rtd520_driver, id->driver_data);
} }
static DEFINE_PCI_DEVICE_TABLE(rtd520_pci_table) = { static const struct pci_device_id rtd520_pci_table[] = {
{ PCI_VDEVICE(RTD, 0x7520), BOARD_DM7520 }, { PCI_VDEVICE(RTD, 0x7520), BOARD_DM7520 },
{ PCI_VDEVICE(RTD, 0x4520), BOARD_PCI4520 }, { PCI_VDEVICE(RTD, 0x4520), BOARD_PCI4520 },
{ 0 } { 0 }
......
...@@ -2965,7 +2965,7 @@ static int s626_pci_probe(struct pci_dev *dev, ...@@ -2965,7 +2965,7 @@ static int s626_pci_probe(struct pci_dev *dev,
* also subvendor:subdevice ids, because otherwise it will conflict with * also subvendor:subdevice ids, because otherwise it will conflict with
* Philips SAA7146 media/dvb based cards. * Philips SAA7146 media/dvb based cards.
*/ */
static DEFINE_PCI_DEVICE_TABLE(s626_pci_table) = { static const struct pci_device_id s626_pci_table[] = {
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_PHILIPS, PCI_DEVICE_ID_PHILIPS_SAA7146, { PCI_DEVICE_SUB(PCI_VENDOR_ID_PHILIPS, PCI_DEVICE_ID_PHILIPS_SAA7146,
0x6000, 0x0272) }, 0x6000, 0x0272) },
{ 0 } { 0 }
......
...@@ -698,7 +698,7 @@ static int skel_pci_probe(struct pci_dev *dev, ...@@ -698,7 +698,7 @@ static int skel_pci_probe(struct pci_dev *dev,
* This is used by modprobe to translate PCI IDs to drivers. * This is used by modprobe to translate PCI IDs to drivers.
* Should only be used for PCI and ISA-PnP devices * Should only be used for PCI and ISA-PnP devices
*/ */
static DEFINE_PCI_DEVICE_TABLE(skel_pci_table) = { static const struct pci_device_id skel_pci_table[] = {
{ PCI_VDEVICE(SKEL, 0x0100), BOARD_SKEL100 }, { PCI_VDEVICE(SKEL, 0x0100), BOARD_SKEL100 },
{ PCI_VDEVICE(SKEL, 0x0200), BOARD_SKEL200 }, { PCI_VDEVICE(SKEL, 0x0200), BOARD_SKEL200 },
{ 0 } { 0 }
......
...@@ -703,7 +703,7 @@ static int chd_dec_pci_resume(struct pci_dev *pdev) ...@@ -703,7 +703,7 @@ static int chd_dec_pci_resume(struct pci_dev *pdev)
} }
#endif #endif
static DEFINE_PCI_DEVICE_TABLE(chd_dec_pci_id_table) = { static const struct pci_device_id chd_dec_pci_id_table[] = {
{ PCI_VDEVICE(BROADCOM, 0x1612), 8 }, { PCI_VDEVICE(BROADCOM, 0x1612), 8 },
{ 0, }, { 0, },
}; };
......
...@@ -152,7 +152,7 @@ static int dwc2_driver_probe(struct pci_dev *dev, ...@@ -152,7 +152,7 @@ static int dwc2_driver_probe(struct pci_dev *dev,
return retval; return retval;
} }
static DEFINE_PCI_DEVICE_TABLE(dwc2_pci_ids) = { static const struct pci_device_id dwc2_pci_ids[] = {
{ {
PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, PCI_PRODUCT_ID_HAPS_HSOTG), PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, PCI_PRODUCT_ID_HAPS_HSOTG),
}, },
......
...@@ -4930,7 +4930,7 @@ static int et131x_pci_setup(struct pci_dev *pdev, ...@@ -4930,7 +4930,7 @@ static int et131x_pci_setup(struct pci_dev *pdev,
goto out; goto out;
} }
static DEFINE_PCI_DEVICE_TABLE(et131x_pci_table) = { static const struct pci_device_id et131x_pci_table[] = {
{ PCI_VDEVICE(ATT, ET131X_PCI_DEVICE_ID_GIG), 0UL}, { PCI_VDEVICE(ATT, ET131X_PCI_DEVICE_ID_GIG), 0UL},
{ PCI_VDEVICE(ATT, ET131X_PCI_DEVICE_ID_FAST), 0UL}, { PCI_VDEVICE(ATT, ET131X_PCI_DEVICE_ID_FAST), 0UL},
{0,} {0,}
......
...@@ -974,7 +974,7 @@ dt3155_remove(struct pci_dev *pdev) ...@@ -974,7 +974,7 @@ dt3155_remove(struct pci_dev *pdev)
kfree(pd); kfree(pd);
} }
static DEFINE_PCI_DEVICE_TABLE(pci_ids) = { static const struct pci_device_id pci_ids[] = {
{ PCI_DEVICE(DT3155_VENDOR_ID, DT3155_DEVICE_ID) }, { PCI_DEVICE(DT3155_VENDOR_ID, DT3155_DEVICE_ID) },
{ 0, /* zero marks the end */ }, { 0, /* zero marks the end */ },
}; };
......
...@@ -669,7 +669,7 @@ static void solo_pci_remove(struct pci_dev *pdev) ...@@ -669,7 +669,7 @@ static void solo_pci_remove(struct pci_dev *pdev)
free_solo_dev(solo_dev); free_solo_dev(solo_dev);
} }
static DEFINE_PCI_DEVICE_TABLE(solo_id_table) = { static const struct pci_device_id solo_id_table[] = {
/* 6010 based cards */ /* 6010 based cards */
{ PCI_DEVICE(PCI_VENDOR_ID_SOFTLOGIC, PCI_DEVICE_ID_SOLO6010), { PCI_DEVICE(PCI_VENDOR_ID_SOFTLOGIC, PCI_DEVICE_ID_SOLO6010),
.driver_data = SOLO_DEV_6010 }, .driver_data = SOLO_DEV_6010 },
......
...@@ -69,7 +69,7 @@ static int phison_init_one(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -69,7 +69,7 @@ static int phison_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
return ret; return ret;
} }
static DEFINE_PCI_DEVICE_TABLE(phison_pci_tbl) = { static const struct pci_device_id phison_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000), { PCI_DEVICE(PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000),
PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 }, PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 },
{ 0, }, { 0, },
......
...@@ -4292,7 +4292,7 @@ static void sep_remove(struct pci_dev *pdev) ...@@ -4292,7 +4292,7 @@ static void sep_remove(struct pci_dev *pdev)
} }
/* Initialize struct pci_device_id for our driver */ /* Initialize struct pci_device_id for our driver */
static DEFINE_PCI_DEVICE_TABLE(sep_pci_id_tbl) = { static const struct pci_device_id sep_pci_id_tbl[] = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0826)}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0826)},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x08e9)}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x08e9)},
{0} {0}
......
...@@ -136,7 +136,7 @@ MODULE_PARM_DESC(dynamic_intagg, "Dynamic Interrupt Aggregation Setting"); ...@@ -136,7 +136,7 @@ MODULE_PARM_DESC(dynamic_intagg, "Dynamic Interrupt Aggregation Setting");
module_param(intagg_delay, int, 0); module_param(intagg_delay, int, 0);
MODULE_PARM_DESC(intagg_delay, "uSec Interrupt Aggregation Delay"); MODULE_PARM_DESC(intagg_delay, "uSec Interrupt Aggregation Delay");
static DEFINE_PCI_DEVICE_TABLE(slic_pci_tbl) = { static const struct pci_device_id slic_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ALACRITECH, SLIC_1GB_DEVICE_ID) }, { PCI_DEVICE(PCI_VENDOR_ID_ALACRITECH, SLIC_1GB_DEVICE_ID) },
{ PCI_DEVICE(PCI_VENDOR_ID_ALACRITECH, SLIC_2GB_DEVICE_ID) }, { PCI_DEVICE(PCI_VENDOR_ID_ALACRITECH, SLIC_2GB_DEVICE_ID) },
{ 0 } { 0 }
......
...@@ -920,7 +920,7 @@ static int smtcfb_pci_probe(struct pci_dev *pdev, ...@@ -920,7 +920,7 @@ static int smtcfb_pci_probe(struct pci_dev *pdev,
* 0x712 (LynxEM+) * 0x712 (LynxEM+)
* 0x720 (Lynx3DM, Lynx3DM+) * 0x720 (Lynx3DM, Lynx3DM+)
*/ */
static DEFINE_PCI_DEVICE_TABLE(smtcfb_pci_table) = { static const struct pci_device_id smtcfb_pci_table[] = {
{ PCI_DEVICE(0x126f, 0x710), }, { PCI_DEVICE(0x126f, 0x710), },
{ PCI_DEVICE(0x126f, 0x712), }, { PCI_DEVICE(0x126f, 0x712), },
{ PCI_DEVICE(0x126f, 0x720), }, { PCI_DEVICE(0x126f, 0x720), },
......
...@@ -267,7 +267,7 @@ static CHIP_INFO chip_info_table[] = { ...@@ -267,7 +267,7 @@ static CHIP_INFO chip_info_table[] = {
{0, NULL} {0, NULL}
}; };
DEFINE_PCI_DEVICE_TABLE(vt6655_pci_id_table) = { const struct pci_device_id vt6655_pci_id_table[] = {
{ PCI_VDEVICE(VIA, 0x3253), (kernel_ulong_t)chip_info_table}, { PCI_VDEVICE(VIA, 0x3253), (kernel_ulong_t)chip_info_table},
{ 0, } { 0, }
}; };
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define PCI_DEVICE_ID_XGI_27 0x027 #define PCI_DEVICE_ID_XGI_27 0x027
#endif #endif
static DEFINE_PCI_DEVICE_TABLE(xgifb_pci_table) = { static const struct pci_device_id xgifb_pci_table[] = {
{PCI_DEVICE(PCI_VENDOR_ID_XGI, PCI_DEVICE_ID_XGI_20)}, {PCI_DEVICE(PCI_VENDOR_ID_XGI, PCI_DEVICE_ID_XGI_20)},
{PCI_DEVICE(PCI_VENDOR_ID_XGI, PCI_DEVICE_ID_XGI_27)}, {PCI_DEVICE(PCI_VENDOR_ID_XGI, PCI_DEVICE_ID_XGI_27)},
{PCI_DEVICE(PCI_VENDOR_ID_XGI, PCI_DEVICE_ID_XGI_40)}, {PCI_DEVICE(PCI_VENDOR_ID_XGI, PCI_DEVICE_ID_XGI_40)},
......
...@@ -30,7 +30,7 @@ MODULE_LICENSE("GPL v2"); ...@@ -30,7 +30,7 @@ MODULE_LICENSE("GPL v2");
static const char xillyname[] = "xillybus_pcie"; static const char xillyname[] = "xillybus_pcie";
static DEFINE_PCI_DEVICE_TABLE(xillyids) = { static const struct pci_device_id xillyids[] = {
{PCI_DEVICE(PCI_VENDOR_ID_XILINX, PCI_DEVICE_ID_XILLYBUS)}, {PCI_DEVICE(PCI_VENDOR_ID_XILINX, PCI_DEVICE_ID_XILLYBUS)},
{PCI_DEVICE(PCI_VENDOR_ID_ALTERA, PCI_DEVICE_ID_XILLYBUS)}, {PCI_DEVICE(PCI_VENDOR_ID_ALTERA, PCI_DEVICE_ID_XILLYBUS)},
{PCI_DEVICE(PCI_VENDOR_ID_ACTEL, PCI_DEVICE_ID_XILLYBUS)}, {PCI_DEVICE(PCI_VENDOR_ID_ACTEL, PCI_DEVICE_ID_XILLYBUS)},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册