summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/vrc4173_cardu.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-19 03:58:07 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-19 03:58:07 +0400
commit0178a7a54d408d2c5b7bbe7eee9450bffbec0989 (patch)
tree22fc73c7ee1b7dd6612ba752dbaa8fa66a042532 /drivers/pcmcia/vrc4173_cardu.c
parent32182cd39d94fa9586cc08c74fdb30fb718f712d (diff)
downloadlinux-0178a7a54d408d2c5b7bbe7eee9450bffbec0989.tar.xz
pcmcia: remove DEFINE_PCI_DEVICE_TABLE usage
It's not needed, just use the "real" structure definition instead. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/vrc4173_cardu.c')
-rw-r--r--drivers/pcmcia/vrc4173_cardu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/vrc4173_cardu.c b/drivers/pcmcia/vrc4173_cardu.c
index d92692056e24..9fb0c3addfd4 100644
--- a/drivers/pcmcia/vrc4173_cardu.c
+++ b/drivers/pcmcia/vrc4173_cardu.c
@@ -563,7 +563,7 @@ static int vrc4173_cardu_setup(char *options)
__setup("vrc4173_cardu=", vrc4173_cardu_setup);
-static DEFINE_PCI_DEVICE_TABLE(vrc4173_cardu_id_table) = {
+static const struct pci_device_id vrc4173_cardu_id_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_NAPCCARD) },
{0, }
};