aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-pasemi.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-02 18:11:20 -0500
committerWolfram Sang <wsa@the-dreams.de>2014-03-13 04:44:59 -0400
commit392debf11656dedd79da44416747d5b2b1747f5e (patch)
tree5cd32744ea0f8adc3eef1a5c0e14b29fa8b2cf21 /drivers/i2c/busses/i2c-pasemi.c
parent069a9502dd7c51cf2f9031cd86d88774c696101c (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/busses/i2c-pasemi.c')
-rw-r--r--drivers/i2c/busses/i2c-pasemi.c2
1 files changed, 1 insertions, 1 deletions
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
404static DEFINE_PCI_DEVICE_TABLE(pasemi_smb_ids) = { 404static const struct pci_device_id pasemi_smb_ids[] = {
405 { PCI_DEVICE(0x1959, 0xa003) }, 405 { PCI_DEVICE(0x1959, 0xa003) },
406 { 0, } 406 { 0, }
407}; 407};