Subject: NULL-terminate all pci_device_id tables
From: Dzianis Kahanovich <mahatma@bspu.unibel.by>

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>
---
 drivers/dma/pch_dma.c           |    1 +
 drivers/i2c/busses/scx200_acb.c |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff -pruN a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
--- a/drivers/dma/pch_dma.c	2010-08-18 14:43:33.000000000 +0300
+++ b/drivers/dma/pch_dma.c	2010-08-18 16:26:27.000000000 +0300
@@ -926,6 +926,7 @@ static void __devexit pch_dma_remove(str
 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 = {
diff -pruN a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
--- a/drivers/i2c/busses/scx200_acb.c	2010-08-02 01:11:14.000000000 +0300
+++ b/drivers/i2c/busses/scx200_acb.c	2010-08-18 16:26:50.000000000 +0300
@@ -560,7 +560,8 @@ static const struct pci_device_id scx200
 	{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_CS5535_ISA),
 	  .driver_data = 1 },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA),
-	  .driver_data = 2 }
+	  .driver_data = 2 },
+	{ 0, }
 };
 
 static struct {

