From 87acf5ad87b275660e2508e6935b570a20b6a073 Mon Sep 17 00:00:00 2001 From: Dzianis Kahanovich Date: Wed, 27 Oct 2010 20:33:05 -0600 Subject: 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 Signed-off-by: Rusty Russell --- drivers/dma/pch_dma.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/dma/pch_dma.c') diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c index 3533948b88ba..92b679024fed 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 = { -- cgit v1.2.1