diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-27 09:17:46 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2012-03-03 14:43:37 +0100 |
commit | 2b2c5d8c1dff8ed42d6d841f56428c0ce2bd71b5 (patch) | |
tree | b3ba3e4f40402ad9c3f43eb9a22b2b1b59e31365 /drivers/pcmcia/yenta_socket.c | |
parent | pcmcia: convert drivers/pcmcia/* to use module_platform_driver() (diff) | |
download | linux-2b2c5d8c1dff8ed42d6d841f56428c0ce2bd71b5.tar.xz linux-2b2c5d8c1dff8ed42d6d841f56428c0ce2bd71b5.zip |
pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
tables. Also convert to use PCI_DEVICE macro for better readablity.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/yenta_socket.c')
-rw-r--r-- | drivers/pcmcia/yenta_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c index 849c0c11d2af..d07f9ac8c41d 100644 --- a/drivers/pcmcia/yenta_socket.c +++ b/drivers/pcmcia/yenta_socket.c @@ -1352,7 +1352,7 @@ static const struct dev_pm_ops yenta_pm_ops = { .driver_data = CARDBUS_TYPE_##type, \ } -static struct pci_device_id yenta_table[] = { +static DEFINE_PCI_DEVICE_TABLE(yenta_table) = { CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1031, TI), /* |