diff options
Diffstat (limited to 'sys/dev/pci/drm/i915/intel_i2c.c')
-rw-r--r-- | sys/dev/pci/drm/i915/intel_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/intel_i2c.c b/sys/dev/pci/drm/i915/intel_i2c.c index ae3bb078413..e648239e2a7 100644 --- a/sys/dev/pci/drm/i915/intel_i2c.c +++ b/sys/dev/pci/drm/i915/intel_i2c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intel_i2c.c,v 1.8 2016/04/16 17:39:44 kettenis Exp $ */ +/* $OpenBSD: intel_i2c.c,v 1.9 2016/09/24 17:03:37 kettenis Exp $ */ /* * Copyright (c) 2012, 2013 Mark Kettenis <kettenis@openbsd.org> * @@ -436,7 +436,7 @@ intel_gmbus_force_bit(struct i2c_controller *controller, bool force_bit) else bus->force_bit--; - KASSERT(force_bit >= 0); + KASSERT(bus->force_bit >= 0); if (bus->force_bit) { bus->controller.ic_exec = NULL; |