Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297551
b: refs/heads/master
c: 2b2c5d8
h: refs/heads/master
i:
  297549: 3690b30
  297547: 6ad5bae
  297543: 4317354
  297535: 255e619
v: v3
  • Loading branch information
Axel Lin authored and Dominik Brodowski committed Mar 3, 2012
1 parent a79067f commit 2e8009d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d95f8e2dd263f3e05ae4bf9a3309552363e13af
refs/heads/master: 2b2c5d8c1dff8ed42d6d841f56428c0ce2bd71b5
2 changes: 1 addition & 1 deletion trunk/drivers/pcmcia/bcm63xx_pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ static void __devexit bcm63xx_cb_exit(struct pci_dev *dev)
bcm63xx_cb_dev = NULL;
}

static struct pci_device_id bcm63xx_cb_table[] = {
static DEFINE_PCI_DEVICE_TABLE(bcm63xx_cb_table) = {
{
.vendor = PCI_VENDOR_ID_BROADCOM,
.device = BCM6348_CPU_ID,
Expand Down
11 changes: 3 additions & 8 deletions trunk/drivers/pcmcia/i82092.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,9 @@
MODULE_LICENSE("GPL");

/* PCI core routines */
static struct pci_device_id i82092aa_pci_ids[] = {
{
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82092AA_0,
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
{}
static DEFINE_PCI_DEVICE_TABLE(i82092aa_pci_ids) = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82092AA_0) },
{ }
};
MODULE_DEVICE_TABLE(pci, i82092aa_pci_ids);

Expand Down
9 changes: 2 additions & 7 deletions trunk/drivers/pcmcia/pd6729.c
Original file line number Diff line number Diff line change
Expand Up @@ -763,13 +763,8 @@ static void __devexit pd6729_pci_remove(struct pci_dev *dev)
kfree(socket);
}

static struct pci_device_id pd6729_pci_ids[] = {
{
.vendor = PCI_VENDOR_ID_CIRRUS,
.device = PCI_DEVICE_ID_CIRRUS_6729,
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
static DEFINE_PCI_DEVICE_TABLE(pd6729_pci_ids) = {
{ PCI_DEVICE(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_6729) },
{ }
};
MODULE_DEVICE_TABLE(pci, pd6729_pci_ids);
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/pcmcia/vrc4173_cardu.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,11 +563,8 @@ static int __devinit vrc4173_cardu_setup(char *options)

__setup("vrc4173_cardu=", vrc4173_cardu_setup);

static struct pci_device_id vrc4173_cardu_id_table[] __devinitdata = {
{ .vendor = PCI_VENDOR_ID_NEC,
.device = PCI_DEVICE_ID_NEC_NAPCCARD,
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID, },
static DEFINE_PCI_DEVICE_TABLE(vrc4173_cardu_id_table) = {
{ PCI_DEVICE(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_NAPCCARD) },
{0, }
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/pcmcia/yenta_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),

/*
Expand Down

0 comments on commit 2e8009d

Please sign in to comment.