mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
This commit is contained in:
parent
abbce906d0
commit
87acf5ad87
2 changed files with 3 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue