]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/pxp: fix sparse warning for not declared symbol
authorJani Nikula <jani.nikula@intel.com>
Fri, 6 May 2022 12:04:05 +0000 (15:04 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 8 Jun 2022 08:32:28 +0000 (11:32 +0300)
commite52e41f0cdb9e3b80684b616a5a80c306c6238a4
treec83025a067709ab13154f6324e6f5c104b49c003
parentf404565a05d2d28cd2812bd84ae5b670ab76a87b
drm/i915/pxp: fix sparse warning for not declared symbol

Fix:

drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c:61:6: warning: symbol
'intel_pxp_debugfs_register' was not declared. Should it be static?

Sort and remove the redundant pxp prefixes from the includes while at
it.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220506120405.2582372-1-jani.nikula@intel.com
drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c