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 Avoid {0} struc...
details: https://anonhg.NetBSD.org/src/rev/c62353703c50
branches: riastradh-drm2
changeset: 788403:c62353703c50
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:38:48 2013 +0000
description:
Avoid {0} struct initializer in intel_dp_init_connector.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/intel_dp.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 3f83e07b37b9 -r c62353703c50 sys/external/bsd/drm2/dist/drm/i915/intel_dp.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_dp.c Wed Jul 24 03:38:33 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_dp.c Wed Jul 24 03:38:48 2013 +0000
@@ -2711,7 +2711,12 @@
struct drm_device *dev = intel_encoder->base.dev;
struct drm_i915_private *dev_priv = dev->dev_private;
struct drm_display_mode *fixed_mode = NULL;
+#ifdef __NetBSD__
+ static const struct edp_power_seq zero_power_seq;
+ struct edp_power_seq power_seq = zero_power_seq;
+#else
struct edp_power_seq power_seq = { 0 };
+#endif
enum port port = intel_dig_port->port;
const char *name = NULL;
int type;
Home |
Main Index |
Thread Index |
Old Index