Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm/i915 Need more zeros...



details:   https://anonhg.NetBSD.org/src/rev/cd8669ab0a4b
branches:  riastradh-drm2
changeset: 788339:cd8669ab0a4b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 03:19:49 2013 +0000

description:
Need more zeros for struct pci_device_id initializer in i915_drv.c.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_drv.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 3e107bde5aba -r cd8669ab0a4b sys/external/bsd/drm2/dist/drm/i915/i915_drv.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c    Wed Jul 24 03:19:33 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c    Wed Jul 24 03:19:49 2013 +0000
@@ -391,7 +391,11 @@
        INTEL_VGA_DEVICE(0x0f30, &intel_valleyview_m_info),
        INTEL_VGA_DEVICE(0x0157, &intel_valleyview_m_info),
        INTEL_VGA_DEVICE(0x0155, &intel_valleyview_d_info),
+#ifdef __NetBSD__
+       {0, 0, 0, 0, 0, 0, 0}
+#else
        {0, 0, 0}
+#endif
 };
 
 #if defined(CONFIG_DRM_I915_KMS)



Home | Main Index | Thread Index | Old Index