diff --git a/drivers/gpu/drm/i915/gem/i915_gem_context_types.h b/drivers/gpu/drm/i915/gem/i915_gem_context_types.h index b9a1d54a4643..28760bd03265 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_context_types.h +++ b/drivers/gpu/drm/i915/gem/i915_gem_context_types.h @@ -181,7 +181,7 @@ struct i915_gem_context { char name[TASK_COMM_LEN + 8]; struct { - struct spinlock lock; + spinlock_t lock; struct list_head engines; } stale; };