summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-04-04 05:36:29 +0800
committerEric Anholt <eric@anholt.net>2019-04-04 12:56:45 -0700
commite31b97ef19df5ec6cba24b1de86eead7dc6fa617 (patch)
tree509d48a44b40a5de30d0ddd476ed3512f0753864
parent2ebf47176b7ee1f1a013e76189f2096788d0ad2f (diff)
downloadlinux-stable-e31b97ef19df5ec6cba24b1de86eead7dc6fa617.tar.gz
linux-stable-e31b97ef19df5ec6cba24b1de86eead7dc6fa617.tar.bz2
linux-stable-e31b97ef19df5ec6cba24b1de86eead7dc6fa617.zip
drm/vc4: vc4_debugfs_regset32() can be static
Fixes: c9be804c8c7a ("drm/vc4: Use common helpers for debugfs setup by the driver components.") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20190403213629.GA31570@lkp-ib03
-rw-r--r--drivers/gpu/drm/vc4/vc4_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_debugfs.c b/drivers/gpu/drm/vc4/vc4_debugfs.c
index 69df84bdf904..f9dec08267dc 100644
--- a/drivers/gpu/drm/vc4/vc4_debugfs.c
+++ b/drivers/gpu/drm/vc4/vc4_debugfs.c
@@ -48,7 +48,7 @@ vc4_debugfs_init(struct drm_minor *minor)
return 0;
}
-int vc4_debugfs_regset32(struct seq_file *m, void *unused)
+static int vc4_debugfs_regset32(struct seq_file *m, void *unused)
{
struct drm_info_node *node = (struct drm_info_node *)m->private;
struct debugfs_regset32 *regset = node->info_ent->data;