diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:47:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:47:39 -0400 |
commit | f66dd539feb849a3a00f7fac67c026e0935e373a (patch) | |
tree | a211f0229581ce38655c393f1673826111f9abba /drivers | |
parent | 17bb51d56cdc8cbf252031db3107de034cfeb44c (diff) | |
parent | 87acf5ad87b275660e2508e6935b570a20b6a073 (diff) |
Merge branch 'module' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* 'module' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
NULL-terminate all pci_device_id tables
(trivial) Fix compiler warning in kernel/modules.c
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/pch_dma.c | 1 | ||||
-rw-r--r-- | drivers/i2c/busses/scx200_acb.c | 3 |
2 files changed, 3 insertions, 1 deletions
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) | |||
926 | static const struct pci_device_id pch_dma_id_table[] = { | 926 | static const struct pci_device_id pch_dma_id_table[] = { |
927 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_DMA_8CH), 8 }, | 927 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_DMA_8CH), 8 }, |
928 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_DMA_4CH), 4 }, | 928 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_DMA_4CH), 4 }, |
929 | { 0, }, | ||
929 | }; | 930 | }; |
930 | 931 | ||
931 | static struct pci_driver pch_dma_driver = { | 932 | static struct pci_driver pch_dma_driver = { |
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 = { | |||
560 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_CS5535_ISA), | 560 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_CS5535_ISA), |
561 | .driver_data = 1 }, | 561 | .driver_data = 1 }, |
562 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA), | 562 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA), |
563 | .driver_data = 2 } | 563 | .driver_data = 2 }, |
564 | { 0, } | ||
564 | }; | 565 | }; |
565 | 566 | ||
566 | static struct { | 567 | static struct { |