diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-02 18:11:20 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-03-13 04:44:59 -0400 |
commit | 392debf11656dedd79da44416747d5b2b1747f5e (patch) | |
tree | 5cd32744ea0f8adc3eef1a5c0e14b29fa8b2cf21 /drivers/i2c | |
parent | 069a9502dd7c51cf2f9031cd86d88774c696101c (diff) |
i2c: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-ali1535.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ali1563.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ali15x3.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-amd756.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-amd8111.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-designware-pcidrv.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-eg20t.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-hydra.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ismt.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-nforce2.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-pasemi.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-piix4.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-pxa-pci.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sis5595.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sis630.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sis96x.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-via.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-viapro.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/scx200_acb.c | 2 |
20 files changed, 20 insertions, 20 deletions
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c index 7d60d3a1f621..451e305f7971 100644 --- a/drivers/i2c/busses/i2c-ali1535.c +++ b/drivers/i2c/busses/i2c-ali1535.c | |||
@@ -494,7 +494,7 @@ static struct i2c_adapter ali1535_adapter = { | |||
494 | .algo = &smbus_algorithm, | 494 | .algo = &smbus_algorithm, |
495 | }; | 495 | }; |
496 | 496 | ||
497 | static DEFINE_PCI_DEVICE_TABLE(ali1535_ids) = { | 497 | static const struct pci_device_id ali1535_ids[] = { |
498 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, | 498 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, |
499 | { }, | 499 | { }, |
500 | }; | 500 | }; |
diff --git a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c index 4611e4754a67..98a1c97739ba 100644 --- a/drivers/i2c/busses/i2c-ali1563.c +++ b/drivers/i2c/busses/i2c-ali1563.c | |||
@@ -416,7 +416,7 @@ static void ali1563_remove(struct pci_dev *dev) | |||
416 | ali1563_shutdown(dev); | 416 | ali1563_shutdown(dev); |
417 | } | 417 | } |
418 | 418 | ||
419 | static DEFINE_PCI_DEVICE_TABLE(ali1563_id_table) = { | 419 | static const struct pci_device_id ali1563_id_table[] = { |
420 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1563) }, | 420 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1563) }, |
421 | {}, | 421 | {}, |
422 | }; | 422 | }; |
diff --git a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c index 4823206a4870..2fa21ce9682b 100644 --- a/drivers/i2c/busses/i2c-ali15x3.c +++ b/drivers/i2c/busses/i2c-ali15x3.c | |||
@@ -476,7 +476,7 @@ static struct i2c_adapter ali15x3_adapter = { | |||
476 | .algo = &smbus_algorithm, | 476 | .algo = &smbus_algorithm, |
477 | }; | 477 | }; |
478 | 478 | ||
479 | static DEFINE_PCI_DEVICE_TABLE(ali15x3_ids) = { | 479 | static const struct pci_device_id ali15x3_ids[] = { |
480 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, | 480 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, |
481 | { 0, } | 481 | { 0, } |
482 | }; | 482 | }; |
diff --git a/drivers/i2c/busses/i2c-amd756.c b/drivers/i2c/busses/i2c-amd756.c index 819d3c1062a7..a16f72891358 100644 --- a/drivers/i2c/busses/i2c-amd756.c +++ b/drivers/i2c/busses/i2c-amd756.c | |||
@@ -307,7 +307,7 @@ static const char* chipname[] = { | |||
307 | "nVidia nForce", "AMD8111", | 307 | "nVidia nForce", "AMD8111", |
308 | }; | 308 | }; |
309 | 309 | ||
310 | static DEFINE_PCI_DEVICE_TABLE(amd756_ids) = { | 310 | static const struct pci_device_id amd756_ids[] = { |
311 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_740B), | 311 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_740B), |
312 | .driver_data = AMD756 }, | 312 | .driver_data = AMD756 }, |
313 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_7413), | 313 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_7413), |
diff --git a/drivers/i2c/busses/i2c-amd8111.c b/drivers/i2c/busses/i2c-amd8111.c index f3d4d79855b5..95a80a8f81b5 100644 --- a/drivers/i2c/busses/i2c-amd8111.c +++ b/drivers/i2c/busses/i2c-amd8111.c | |||
@@ -414,7 +414,7 @@ static const struct i2c_algorithm smbus_algorithm = { | |||
414 | }; | 414 | }; |
415 | 415 | ||
416 | 416 | ||
417 | static DEFINE_PCI_DEVICE_TABLE(amd8111_ids) = { | 417 | static const struct pci_device_id amd8111_ids[] = { |
418 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8111_SMBUS2) }, | 418 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8111_SMBUS2) }, |
419 | { 0, } | 419 | { 0, } |
420 | }; | 420 | }; |
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 91d468f8cd39..85056c22d21e 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c | |||
@@ -308,7 +308,7 @@ static void i2c_dw_pci_remove(struct pci_dev *pdev) | |||
308 | /* work with hotplug and coldplug */ | 308 | /* work with hotplug and coldplug */ |
309 | MODULE_ALIAS("i2c_designware-pci"); | 309 | MODULE_ALIAS("i2c_designware-pci"); |
310 | 310 | ||
311 | static DEFINE_PCI_DEVICE_TABLE(i2_designware_pci_ids) = { | 311 | static const struct pci_device_id i2_designware_pci_ids[] = { |
312 | /* Moorestown */ | 312 | /* Moorestown */ |
313 | { PCI_VDEVICE(INTEL, 0x0802), moorestown_0 }, | 313 | { PCI_VDEVICE(INTEL, 0x0802), moorestown_0 }, |
314 | { PCI_VDEVICE(INTEL, 0x0803), moorestown_1 }, | 314 | { PCI_VDEVICE(INTEL, 0x0803), moorestown_1 }, |
diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c index e08e458bab02..ff775ac29e49 100644 --- a/drivers/i2c/busses/i2c-eg20t.c +++ b/drivers/i2c/busses/i2c-eg20t.c | |||
@@ -186,7 +186,7 @@ static DEFINE_MUTEX(pch_mutex); | |||
186 | #define PCI_DEVICE_ID_ML7223_I2C 0x8010 | 186 | #define PCI_DEVICE_ID_ML7223_I2C 0x8010 |
187 | #define PCI_DEVICE_ID_ML7831_I2C 0x8817 | 187 | #define PCI_DEVICE_ID_ML7831_I2C 0x8817 |
188 | 188 | ||
189 | static DEFINE_PCI_DEVICE_TABLE(pch_pcidev_id) = { | 189 | static const struct pci_device_id pch_pcidev_id[] = { |
190 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_I2C), 1, }, | 190 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_I2C), 1, }, |
191 | { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_I2C), 2, }, | 191 | { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_I2C), 2, }, |
192 | { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_I2C), 1, }, | 192 | { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_I2C), 1, }, |
diff --git a/drivers/i2c/busses/i2c-hydra.c b/drivers/i2c/busses/i2c-hydra.c index e248257fe517..14d2b76de25f 100644 --- a/drivers/i2c/busses/i2c-hydra.c +++ b/drivers/i2c/busses/i2c-hydra.c | |||
@@ -104,7 +104,7 @@ static struct i2c_adapter hydra_adap = { | |||
104 | .algo_data = &hydra_bit_data, | 104 | .algo_data = &hydra_bit_data, |
105 | }; | 105 | }; |
106 | 106 | ||
107 | static DEFINE_PCI_DEVICE_TABLE(hydra_ids) = { | 107 | static const struct pci_device_id hydra_ids[] = { |
108 | { PCI_DEVICE(PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_HYDRA) }, | 108 | { PCI_DEVICE(PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_HYDRA) }, |
109 | { 0, } | 109 | { 0, } |
110 | }; | 110 | }; |
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 899f55937ca6..6777cd6f8776 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -791,7 +791,7 @@ static const struct i2c_algorithm smbus_algorithm = { | |||
791 | .functionality = i801_func, | 791 | .functionality = i801_func, |
792 | }; | 792 | }; |
793 | 793 | ||
794 | static DEFINE_PCI_DEVICE_TABLE(i801_ids) = { | 794 | static const struct pci_device_id i801_ids[] = { |
795 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AA_3) }, | 795 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AA_3) }, |
796 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AB_3) }, | 796 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AB_3) }, |
797 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_2) }, | 797 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_2) }, |
diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-ismt.c index 8ce4f517fc56..984492553e95 100644 --- a/drivers/i2c/busses/i2c-ismt.c +++ b/drivers/i2c/busses/i2c-ismt.c | |||
@@ -182,7 +182,7 @@ struct ismt_priv { | |||
182 | /** | 182 | /** |
183 | * ismt_ids - PCI device IDs supported by this driver | 183 | * ismt_ids - PCI device IDs supported by this driver |
184 | */ | 184 | */ |
185 | static DEFINE_PCI_DEVICE_TABLE(ismt_ids) = { | 185 | static const struct pci_device_id ismt_ids[] = { |
186 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT0) }, | 186 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT0) }, |
187 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT1) }, | 187 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT1) }, |
188 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMT) }, | 188 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMT) }, |
diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c index 0038c451095c..ee3a76c7ae97 100644 --- a/drivers/i2c/busses/i2c-nforce2.c +++ b/drivers/i2c/busses/i2c-nforce2.c | |||
@@ -306,7 +306,7 @@ static struct i2c_algorithm smbus_algorithm = { | |||
306 | }; | 306 | }; |
307 | 307 | ||
308 | 308 | ||
309 | static DEFINE_PCI_DEVICE_TABLE(nforce2_ids) = { | 309 | static const struct pci_device_id nforce2_ids[] = { |
310 | { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS) }, | 310 | { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS) }, |
311 | { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2S_SMBUS) }, | 311 | { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2S_SMBUS) }, |
312 | { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS) }, | 312 | { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS) }, |
diff --git a/drivers/i2c/busses/i2c-pasemi.c b/drivers/i2c/busses/i2c-pasemi.c index 615f632c846f..7a9dce43e115 100644 --- a/drivers/i2c/busses/i2c-pasemi.c +++ b/drivers/i2c/busses/i2c-pasemi.c | |||
@@ -401,7 +401,7 @@ static void pasemi_smb_remove(struct pci_dev *dev) | |||
401 | kfree(smbus); | 401 | kfree(smbus); |
402 | } | 402 | } |
403 | 403 | ||
404 | static DEFINE_PCI_DEVICE_TABLE(pasemi_smb_ids) = { | 404 | static const struct pci_device_id pasemi_smb_ids[] = { |
405 | { PCI_DEVICE(0x1959, 0xa003) }, | 405 | { PCI_DEVICE(0x1959, 0xa003) }, |
406 | { 0, } | 406 | { 0, } |
407 | }; | 407 | }; |
diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index 39dd8ec60dfd..a6f54ba27e2a 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c/busses/i2c-piix4.c | |||
@@ -540,7 +540,7 @@ static const struct i2c_algorithm smbus_algorithm = { | |||
540 | .functionality = piix4_func, | 540 | .functionality = piix4_func, |
541 | }; | 541 | }; |
542 | 542 | ||
543 | static DEFINE_PCI_DEVICE_TABLE(piix4_ids) = { | 543 | static const struct pci_device_id piix4_ids[] = { |
544 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB_3) }, | 544 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB_3) }, |
545 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443MX_3) }, | 545 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443MX_3) }, |
546 | { PCI_DEVICE(PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_3) }, | 546 | { PCI_DEVICE(PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_3) }, |
diff --git a/drivers/i2c/busses/i2c-pxa-pci.c b/drivers/i2c/busses/i2c-pxa-pci.c index 9639be86e53f..417464e9ea2a 100644 --- a/drivers/i2c/busses/i2c-pxa-pci.c +++ b/drivers/i2c/busses/i2c-pxa-pci.c | |||
@@ -148,7 +148,7 @@ static void ce4100_i2c_remove(struct pci_dev *dev) | |||
148 | kfree(sds); | 148 | kfree(sds); |
149 | } | 149 | } |
150 | 150 | ||
151 | static DEFINE_PCI_DEVICE_TABLE(ce4100_i2c_devices) = { | 151 | static const struct pci_device_id ce4100_i2c_devices[] = { |
152 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2e68)}, | 152 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2e68)}, |
153 | { }, | 153 | { }, |
154 | }; | 154 | }; |
diff --git a/drivers/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c index 79fd96a04386..ac9bc33acef4 100644 --- a/drivers/i2c/busses/i2c-sis5595.c +++ b/drivers/i2c/busses/i2c-sis5595.c | |||
@@ -369,7 +369,7 @@ static struct i2c_adapter sis5595_adapter = { | |||
369 | .algo = &smbus_algorithm, | 369 | .algo = &smbus_algorithm, |
370 | }; | 370 | }; |
371 | 371 | ||
372 | static DEFINE_PCI_DEVICE_TABLE(sis5595_ids) = { | 372 | static const struct pci_device_id sis5595_ids[] = { |
373 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) }, | 373 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) }, |
374 | { 0, } | 374 | { 0, } |
375 | }; | 375 | }; |
diff --git a/drivers/i2c/busses/i2c-sis630.c b/drivers/i2c/busses/i2c-sis630.c index 19b8505d0cdd..c6366733008d 100644 --- a/drivers/i2c/busses/i2c-sis630.c +++ b/drivers/i2c/busses/i2c-sis630.c | |||
@@ -510,7 +510,7 @@ static struct i2c_adapter sis630_adapter = { | |||
510 | .retries = 3 | 510 | .retries = 3 |
511 | }; | 511 | }; |
512 | 512 | ||
513 | static DEFINE_PCI_DEVICE_TABLE(sis630_ids) = { | 513 | static const struct pci_device_id sis630_ids[] = { |
514 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) }, | 514 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) }, |
515 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_LPC) }, | 515 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_LPC) }, |
516 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_964) }, | 516 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_964) }, |
diff --git a/drivers/i2c/busses/i2c-sis96x.c b/drivers/i2c/busses/i2c-sis96x.c index f8aa0c29f02b..8dc2fc5f74ff 100644 --- a/drivers/i2c/busses/i2c-sis96x.c +++ b/drivers/i2c/busses/i2c-sis96x.c | |||
@@ -244,7 +244,7 @@ static struct i2c_adapter sis96x_adapter = { | |||
244 | .algo = &smbus_algorithm, | 244 | .algo = &smbus_algorithm, |
245 | }; | 245 | }; |
246 | 246 | ||
247 | static DEFINE_PCI_DEVICE_TABLE(sis96x_ids) = { | 247 | static const struct pci_device_id sis96x_ids[] = { |
248 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_SMBUS) }, | 248 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_SMBUS) }, |
249 | { 0, } | 249 | { 0, } |
250 | }; | 250 | }; |
diff --git a/drivers/i2c/busses/i2c-via.c b/drivers/i2c/busses/i2c-via.c index 49d7f14b9d27..f4a1ed757612 100644 --- a/drivers/i2c/busses/i2c-via.c +++ b/drivers/i2c/busses/i2c-via.c | |||
@@ -88,7 +88,7 @@ static struct i2c_adapter vt586b_adapter = { | |||
88 | }; | 88 | }; |
89 | 89 | ||
90 | 90 | ||
91 | static DEFINE_PCI_DEVICE_TABLE(vt586b_ids) = { | 91 | static const struct pci_device_id vt586b_ids[] = { |
92 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3) }, | 92 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3) }, |
93 | { 0, } | 93 | { 0, } |
94 | }; | 94 | }; |
diff --git a/drivers/i2c/busses/i2c-viapro.c b/drivers/i2c/busses/i2c-viapro.c index 40d36df678de..6841200b6e50 100644 --- a/drivers/i2c/busses/i2c-viapro.c +++ b/drivers/i2c/busses/i2c-viapro.c | |||
@@ -442,7 +442,7 @@ release_region: | |||
442 | return error; | 442 | return error; |
443 | } | 443 | } |
444 | 444 | ||
445 | static DEFINE_PCI_DEVICE_TABLE(vt596_ids) = { | 445 | static const struct pci_device_id vt596_ids[] = { |
446 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C596_3), | 446 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C596_3), |
447 | .driver_data = SMBBA1 }, | 447 | .driver_data = SMBBA1 }, |
448 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C596B_3), | 448 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C596B_3), |
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index 2d1d2c5653fb..cb66f9586f76 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c | |||
@@ -556,7 +556,7 @@ static struct platform_driver scx200_pci_driver = { | |||
556 | .remove = scx200_remove, | 556 | .remove = scx200_remove, |
557 | }; | 557 | }; |
558 | 558 | ||
559 | static DEFINE_PCI_DEVICE_TABLE(scx200_isa) = { | 559 | static const struct pci_device_id scx200_isa[] = { |
560 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, | 560 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, |
561 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, | 561 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, |
562 | { 0, } | 562 | { 0, } |