diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-05-06 15:04:05 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-06-08 11:32:28 +0300 |
commit | ab9db127ee03487785509f960e7b5b91cdb6b92d (patch) | |
tree | c83025a067709ab13154f6324e6f5c104b49c003 /drivers/gpu/drm/i915/pxp | |
parent | 4464bd825dd56c2f900038c5922408d70aab01fc (diff) | |
download | linux-ab9db127ee03487785509f960e7b5b91cdb6b92d.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/i915/pxp')
-rw-r--r-- | drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c b/drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c index c9da1015eb42..e888b5124a07 100644 --- a/drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c +++ b/drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c @@ -9,9 +9,10 @@ #include <drm/drm_print.h> #include "gt/intel_gt_debugfs.h" -#include "pxp/intel_pxp.h" -#include "pxp/intel_pxp_irq.h" #include "i915_drv.h" +#include "intel_pxp.h" +#include "intel_pxp_debugfs.h" +#include "intel_pxp_irq.h" static int pxp_info_show(struct seq_file *m, void *data) { |