OSDN Git Service

drm/i915: Include the debugfs params header for its own definition
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Jan 2020 10:21:45 +0000 (10:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Jan 2020 13:00:16 +0000 (13:00 +0000)
commitc53aec2bcc7487437984e4d13e4fc15c4cc95047
treea8a7d7456e1e5faf49d59910708b78b2a78b7bc9
parent9ac7d53d70a2b4f43360e3aa0f14a2514339328f
drm/i915: Include the debugfs params header for its own definition

drivers/gpu/drm/i915/i915_debugfs_params.c:228:15: warning: symbol 'i915_debugfs_params' was not declared. Should it be static?
drivers/gpu/drm/i915/i915_debugfs_params.c:228:16: error: no previous prototype for ‘i915_debugfs_params’ [-Werror=missing-prototypes]
  228 | struct dentry *i915_debugfs_params(struct drm_i915_private *i915)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Fixes: c43c5a8818d4 ("drm/i915/params: add i915 parameters to debugfs")
Link: https://patchwork.freedesktop.org/patch/msgid/20200117102145.2948244-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs_params.c