Skip to content
Commit 1ade3081 authored by Andi Shyti's avatar Andi Shyti
Browse files

drm/i915/gt: Fix use of static in macro mismatch



The INTEL_GT_RPS_SYSFS_ATTR was creating to different structures
but. When called with the "static" keyword this is affecting only
the first structure, while the second is created as non static.

Move the static keyword inside the macros to affect both the
structures.

Reported-by: default avatarJani Nikula <jani.nikula@linux.intel.com>
Fixes: 56a709cf

 ("drm/i915/gt: Create per-tile RPS sysfs interfaces")
Signed-off-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220510140447.80200-1-andi.shyti@linux.intel.com
parent 451374ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment