diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 08:25:19 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-03 18:03:26 +0000 |
commit | 9a21e4770ac828a49e722897c3c0250f630f4a48 (patch) | |
tree | 104595547c695f96378f91bcbc3979553fc64750 /drivers/spi/spi-pxa2xx-pci.c | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | kernel-common-9a21e4770ac828a49e722897c3c0250f630f4a48.tar.gz kernel-common-9a21e4770ac828a49e722897c3c0250f630f4a48.tar.bz2 kernel-common-9a21e4770ac828a49e722897c3c0250f630f4a48.zip |
spi: 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: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx-pci.c')
-rw-r--r-- | drivers/spi/spi-pxa2xx-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index 74bc18775658..3f006d3ed2a8 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b/drivers/spi/spi-pxa2xx-pci.c @@ -62,7 +62,7 @@ static void ce4100_spi_remove(struct pci_dev *dev) platform_device_unregister(pdev); } -static DEFINE_PCI_DEVICE_TABLE(ce4100_spi_devices) = { +static const struct pci_device_id ce4100_spi_devices[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2e6a) }, { }, }; |