diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 03:11:20 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-03-13 12:44:59 +0400 |
commit | 392debf11656dedd79da44416747d5b2b1747f5e (patch) | |
tree | 5cd32744ea0f8adc3eef1a5c0e14b29fa8b2cf21 /drivers/i2c/busses/i2c-sis96x.c | |
parent | 069a9502dd7c51cf2f9031cd86d88774c696101c (diff) | |
download | linux-392debf11656dedd79da44416747d5b2b1747f5e.tar.xz |
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-sis96x.c')
-rw-r--r-- | drivers/i2c/busses/i2c-sis96x.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { .algo = &smbus_algorithm, }; -static DEFINE_PCI_DEVICE_TABLE(sis96x_ids) = { +static const struct pci_device_id sis96x_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_SMBUS) }, { 0, } }; |