mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
32182cd39d
commit
0178a7a54d
|
@ -475,7 +475,7 @@ static void bcm63xx_cb_exit(struct pci_dev *dev)
|
|||
bcm63xx_cb_dev = NULL;
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(bcm63xx_cb_table) = {
|
||||
static const struct pci_device_id bcm63xx_cb_table[] = {
|
||||
{
|
||||
.vendor = PCI_VENDOR_ID_BROADCOM,
|
||||
.device = BCM6348_CPU_ID,
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
MODULE_LICENSE("GPL");
|
||||
|
||||
/* PCI core routines */
|
||||
static DEFINE_PCI_DEVICE_TABLE(i82092aa_pci_ids) = {
|
||||
static const struct pci_device_id i82092aa_pci_ids[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82092AA_0) },
|
||||
{ }
|
||||
};
|
||||
|
|
|
@ -764,7 +764,7 @@ static void pd6729_pci_remove(struct pci_dev *dev)
|
|||
kfree(socket);
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(pd6729_pci_ids) = {
|
||||
static const struct pci_device_id pd6729_pci_ids[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_6729) },
|
||||
{ }
|
||||
};
|
||||
|
|
|
@ -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, }
|
||||
};
|
||||
|
|
|
@ -1352,7 +1352,7 @@ static const struct dev_pm_ops yenta_pm_ops = {
|
|||
.driver_data = CARDBUS_TYPE_##type, \
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(yenta_table) = {
|
||||
static const struct pci_device_id yenta_table[] = {
|
||||
CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1031, TI),
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue