drm/vc4: vc4_debugfs_regset32() can be static
authorkbuild test robot <lkp@intel.com>
Wed, 3 Apr 2019 21:36:29 +0000 (05:36 +0800)
committerEric Anholt <eric@anholt.net>
Thu, 4 Apr 2019 19:56:45 +0000 (12:56 -0700)
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
drivers/gpu/drm/vc4/vc4_debugfs.c

index 69df84bdf904ce12c70368224b246bc01622d371..f9dec08267dc7a7e8957aca514388c50633b7f9d 100644 (file)
@@ -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;