summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorDzianis Kahanovich <mahatma@bspu.unibel.by>2010-10-27 20:33:05 -0600
committerRusty Russell <rusty@rustcorp.com.au>2010-10-27 20:33:05 +1030
commit87acf5ad87b275660e2508e6935b570a20b6a073 (patch)
treec0a5d543289a953961171bcb8294e09eb912af0f /drivers/dma
parentabbce906d05ec37289cd0c3b4e35b2db26eab19b (diff)
downloadop-kernel-dev-87acf5ad87b275660e2508e6935b570a20b6a073.zip
op-kernel-dev-87acf5ad87b275660e2508e6935b570a20b6a073.tar.gz
NULL-terminate all pci_device_id tables
NULL-terminating pci_device_id in pch_dma.c and scx200_acb.c for appying MODULE_DEVICE_TABLE (to publish modalias-es). Signed-off-by: Dzianis Kahanovich <mahatma@eu.by> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/pch_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index 3533948..92b6790 100644
--- a/drivers/dma/pch_dma.c
+++ b/drivers/dma/pch_dma.c
@@ -926,6 +926,7 @@ static void __devexit pch_dma_remove(struct pci_dev *pdev)
static const struct pci_device_id pch_dma_id_table[] = {
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_DMA_8CH), 8 },
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_DMA_4CH), 4 },
+ { 0, },
};
static struct pci_driver pch_dma_driver = {
OpenPOWER on IntegriCloud