Commit aa53f533 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Dave Airlie

gma500: fix two -Wmissing-field-initializers warnings

Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 15308e23
...@@ -80,7 +80,7 @@ static DEFINE_PCI_DEVICE_TABLE(pciidlist) = { ...@@ -80,7 +80,7 @@ static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {
{ 0x8086, 0x0be6, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops}, { 0x8086, 0x0be6, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops},
{ 0x8086, 0x0be7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops}, { 0x8086, 0x0be7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops},
#endif #endif
{ 0, 0, 0} { 0, }
}; };
MODULE_DEVICE_TABLE(pci, pciidlist); MODULE_DEVICE_TABLE(pci, pciidlist);
...@@ -678,7 +678,9 @@ static struct pci_driver psb_pci_driver = { ...@@ -678,7 +678,9 @@ static struct pci_driver psb_pci_driver = {
.id_table = pciidlist, .id_table = pciidlist,
.probe = psb_probe, .probe = psb_probe,
.remove = psb_remove, .remove = psb_remove,
.driver.pm = &psb_pm_ops, .driver = {
.pm = &psb_pm_ops,
}
}; };
static int psb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) static int psb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment