aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-dw-pci.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-02 18:25:19 -0500
committerMark Brown <broonie@linaro.org>2013-12-03 13:03:26 -0500
commit9a21e4770ac828a49e722897c3c0250f630f4a48 (patch)
tree104595547c695f96378f91bcbc3979553fc64750 /drivers/spi/spi-dw-pci.c
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
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-dw-pci.c')
-rw-r--r--drivers/spi/spi-dw-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-dw-pci.c b/drivers/spi/spi-dw-pci.c
index 66fa9955ea14..f7be4be59353 100644
--- a/drivers/spi/spi-dw-pci.c
+++ b/drivers/spi/spi-dw-pci.c
@@ -148,7 +148,7 @@ static int spi_resume(struct pci_dev *pdev)
148#define spi_resume NULL 148#define spi_resume NULL
149#endif 149#endif
150 150
151static DEFINE_PCI_DEVICE_TABLE(pci_ids) = { 151static const struct pci_device_id pci_ids[] = {
152 /* Intel MID platform SPI controller 0 */ 152 /* Intel MID platform SPI controller 0 */
153 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0800) }, 153 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0800) },
154 {}, 154 {},