]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
UBUNTU: SAUCE: i915: Fix build error due to missing struct definition
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 19 Aug 2020 16:04:30 +0000 (11:04 -0500)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 15 Dec 2020 08:17:56 +0000 (09:17 +0100)
commit5fb1f947d807025cd089105b740ac37ccb924cdb
treed9cd41755a306d8e55a203d37aa40453689b3dc8
parent9a2a4b2d33576374c3a93800ad4bacc97f81534a
UBUNTU: SAUCE: i915: Fix build error due to missing struct definition

FTBFS in v5.9-rc1:

 In file included from /tmp/kernel-sforshee-f5108e59edd8-jyEs/build/drivers/gpu/drm/i915/i915_active.h:12,
                  from /tmp/kernel-sforshee-f5108e59edd8-jyEs/build/drivers/gpu/drm/i915/gt/intel_context_param.c:6:
 /tmp/kernel-sforshee-f5108e59edd8-jyEs/build/drivers/gpu/drm/i915/i915_active_types.h:35:22: error: field 'rwsem' has incomplete type
    35 |  struct rw_semaphore rwsem;
       |                      ^~~~~

Fix by adding an include to provide the definition.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/i915/i915_active_types.h