summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-09 07:59:36 +0200
committerVinod Koul <vinod.koul@intel.com>2014-05-21 07:46:18 +0200
commit7587821d3d0812fde4799657aa6d32a57d655bcd (patch)
tree84ffa2089d00d6f0d87bc9d12118fd433ef6b090 /drivers/dma/dw
parentdma: ste_dma40: Convert to the late system PM callbacks (diff)
downloadlinux-7587821d3d0812fde4799657aa6d32a57d655bcd.tar.xz
linux-7587821d3d0812fde4799657aa6d32a57d655bcd.zip
dma: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is deprecated. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw')
-rw-r--r--drivers/dma/dw/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dw/pci.c b/drivers/dma/dw/pci.c
index be81db780627..39e30c3c7a9d 100644
--- a/drivers/dma/dw/pci.c
+++ b/drivers/dma/dw/pci.c
@@ -99,7 +99,7 @@ static const struct dev_pm_ops dw_pci_dev_pm_ops = {
SET_LATE_SYSTEM_SLEEP_PM_OPS(dw_pci_suspend_late, dw_pci_resume_early)
};
-static DEFINE_PCI_DEVICE_TABLE(dw_pci_id_table) = {
+static const struct pci_device_id dw_pci_id_table[] = {
/* Medfield */
{ PCI_VDEVICE(INTEL, 0x0827), (kernel_ulong_t)&dw_pci_pdata },
{ PCI_VDEVICE(INTEL, 0x0830), (kernel_ulong_t)&dw_pci_pdata },