summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorDzianis Kahanovich <mahatma@bspu.unibel.by>2010-10-28 04:33:05 +0200
committerRusty Russell <rusty@rustcorp.com.au>2010-10-27 12:03:05 +0200
commit87acf5ad87b275660e2508e6935b570a20b6a073 (patch)
treec0a5d543289a953961171bcb8294e09eb912af0f /drivers/i2c
parent(trivial) Fix compiler warning in kernel/modules.c (diff)
downloadlinux-87acf5ad87b275660e2508e6935b570a20b6a073.tar.xz
linux-87acf5ad87b275660e2508e6935b570a20b6a073.zip
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/i2c')
-rw-r--r--drivers/i2c/busses/scx200_acb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
index 4cb4bb009950..53fab518b3da 100644
--- a/drivers/i2c/busses/scx200_acb.c
+++ b/drivers/i2c/busses/scx200_acb.c
@@ -560,7 +560,8 @@ static const struct pci_device_id scx200_pci[] __initconst = {
{ 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 {