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 Convert intel_i...
details: https://anonhg.NetBSD.org/src/rev/17ebd25ea2a1
branches: riastradh-drm2
changeset: 788411:17ebd25ea2a1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:41:01 2013 +0000
description:
Convert intel_i2c.c to linux_mutex_init.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r c7edfc5b93fd -r 17ebd25ea2a1 sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c Wed Jul 24 03:40:46 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c Wed Jul 24 03:41:01 2013 +0000
@@ -469,7 +469,11 @@
else
dev_priv->gpio_mmio_base = 0;
+#ifdef __NetBSD__
+ linux_mutex_init(&dev_priv->gmbus_mutex);
+#else
mutex_init(&dev_priv->gmbus_mutex);
+#endif
for (i = 0; i < GMBUS_NUM_PORTS; i++) {
struct intel_gmbus *bus = &dev_priv->gmbus[i];
Home |
Main Index |
Thread Index |
Old Index