]> git.proxmox.com Git - mirror_ubuntu-impish-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>
Mon, 28 Jun 2021 06:03:53 +0000 (08:03 +0200)
commit383e5cd752cc64001354f5a03a12b4e98316d94b
treeb071dfb50eb1708b7df078d31e9f5840c06861e6
parent272c6023efa1cd3f11fcc93b648d4767bd1a3d6b
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