diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 16:58:07 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 16:58:07 -0700 |
commit | 0178a7a54d408d2c5b7bbe7eee9450bffbec0989 (patch) | |
tree | 22fc73c7ee1b7dd6612ba752dbaa8fa66a042532 /drivers/pcmcia/vrc4173_cardu.c | |
parent | 32182cd39d94fa9586cc08c74fdb30fb718f712d (diff) | |
download | lwn-0178a7a54d408d2c5b7bbe7eee9450bffbec0989.tar.gz lwn-0178a7a54d408d2c5b7bbe7eee9450bffbec0989.zip |
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.c | 2 |
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, } }; |