mirror of https://gitee.com/openkylin/linux.git
drm/i915: Silence a sparse warning
drivers/gpu/drm/i915/i915_debugfs.c:2136:3: warning: symbol 'i915_debugfs_files' was not declared. Should it be static? Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
77c122bcc4
commit
2b4bd0e065
|
@ -2130,7 +2130,7 @@ static struct drm_info_list i915_debugfs_list[] = {
|
|||
};
|
||||
#define I915_DEBUGFS_ENTRIES ARRAY_SIZE(i915_debugfs_list)
|
||||
|
||||
struct i915_debugfs_files {
|
||||
static struct i915_debugfs_files {
|
||||
const char *name;
|
||||
const struct file_operations *fops;
|
||||
} i915_debugfs_files[] = {
|
||||
|
|
Loading…
Reference in New Issue