gma500: fix two -Wmissing-field-initializers warnings
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 8 Mar 2012 16:09:19 +0000 (16:09 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Mar 2012 13:06:13 +0000 (13:06 +0000)
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/psb_drv.c

index fc09f6ab214ae6b21454b86103208eb487868cb4..c34adf9d910ac11ab72986bfab539e203a7ae330 100644 (file)
@@ -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, 0x0be7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops},
 #endif
-       { 0, 0, 0}
+       { 0, }
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
 
@@ -678,7 +678,9 @@ static struct pci_driver psb_pci_driver = {
        .id_table = pciidlist,
        .probe = psb_probe,
        .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)