summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/drivers/amplc_pci263.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-03 08:26:00 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-02 22:32:35 -0800
commit41e043fcfa2236bb2c4a8335eb09f4c8cee224b3 (patch)
tree68e847050a8bfe041a326aefbad99347e977e9f1 /drivers/staging/comedi/drivers/amplc_pci263.c
parent06749f192b740651302a84273707d0b66749d126 (diff)
downloadlinux-rt-41e043fcfa2236bb2c4a8335eb09f4c8cee224b3.tar.gz
staging: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/drivers/amplc_pci263.c')
-rw-r--r--drivers/staging/comedi/drivers/amplc_pci263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/amplc_pci263.c b/drivers/staging/comedi/drivers/amplc_pci263.c
index 4bd4ef8e88cd..be28e6cbea20 100644
--- a/drivers/staging/comedi/drivers/amplc_pci263.c
+++ b/drivers/staging/comedi/drivers/amplc_pci263.c
@@ -96,7 +96,7 @@ static struct comedi_driver amplc_pci263_driver = {
.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) },
{0}
};