diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-03-08 11:09:19 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-10 08:06:13 -0500 |
commit | aa53f5331c4ea156b6479c6e4d9a5d35528ac1eb (patch) | |
tree | 0855bab1626acb6589a7c6a76c3e62414af90ac3 | |
parent | 15308e23fb1bbb485be648b379717cecdc8a0da1 (diff) |
gma500: fix two -Wmissing-field-initializers warnings
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>
-rw-r--r-- | drivers/gpu/drm/gma500/psb_drv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c index fc09f6ab214a..c34adf9d910a 100644 --- a/drivers/gpu/drm/gma500/psb_drv.c +++ b/drivers/gpu/drm/gma500/psb_drv.c | |||
@@ -80,7 +80,7 @@ static DEFINE_PCI_DEVICE_TABLE(pciidlist) = { | |||
80 | { 0x8086, 0x0be6, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops}, | 80 | { 0x8086, 0x0be6, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops}, |
81 | { 0x8086, 0x0be7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops}, | 81 | { 0x8086, 0x0be7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops}, |
82 | #endif | 82 | #endif |
83 | { 0, 0, 0} | 83 | { 0, } |
84 | }; | 84 | }; |
85 | MODULE_DEVICE_TABLE(pci, pciidlist); | 85 | MODULE_DEVICE_TABLE(pci, pciidlist); |
86 | 86 | ||
@@ -678,7 +678,9 @@ static struct pci_driver psb_pci_driver = { | |||
678 | .id_table = pciidlist, | 678 | .id_table = pciidlist, |
679 | .probe = psb_probe, | 679 | .probe = psb_probe, |
680 | .remove = psb_remove, | 680 | .remove = psb_remove, |
681 | .driver.pm = &psb_pm_ops, | 681 | .driver = { |
682 | .pm = &psb_pm_ops, | ||
683 | } | ||
682 | }; | 684 | }; |
683 | 685 | ||
684 | static int psb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 686 | static int psb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |