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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue