From 182f9c510f98a2cefec44762a35cd5c00fd98709 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 2 Jan 2024 19:32:25 +0000 Subject: [PATCH 0811/1085] drm/vc4: Fixup of patches adding debugfs functions Signed-off-by: Dave Stevenson --- drivers/gpu/drm/vc4/vc4_hvs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- a/drivers/gpu/drm/vc4/vc4_hvs.c +++ b/drivers/gpu/drm/vc4/vc4_hvs.c @@ -221,8 +221,8 @@ static int vc4_hvs_debugfs_dlist(struct static int vc6_hvs_debugfs_dlist(struct seq_file *m, void *data) { - struct drm_info_node *node = m->private; - struct drm_device *dev = node->minor->dev; + struct drm_debugfs_entry *entry = m->private; + struct drm_device *dev = entry->dev; struct vc4_dev *vc4 = to_vc4_dev(dev); struct vc4_hvs *hvs = vc4->hvs; struct drm_printer p = drm_seq_file_printer(m); @@ -270,8 +270,8 @@ static int vc6_hvs_debugfs_dlist(struct static int vc5_hvs_debugfs_gamma(struct seq_file *m, void *data) { - struct drm_info_node *node = m->private; - struct drm_device *dev = node->minor->dev; + struct drm_debugfs_entry *entry = m->private; + struct drm_device *dev = entry->dev; struct vc4_dev *vc4 = to_vc4_dev(dev); struct vc4_hvs *hvs = vc4->hvs; struct drm_printer p = drm_seq_file_printer(m); @@ -349,8 +349,8 @@ static int vc5_hvs_debugfs_gamma(struct static int vc4_hvs_debugfs_dlist_allocs(struct seq_file *m, void *data) { - struct drm_info_node *node = m->private; - struct drm_device *dev = node->minor->dev; + struct drm_debugfs_entry *entry = m->private; + struct drm_device *dev = entry->dev; struct vc4_dev *vc4 = to_vc4_dev(dev); struct vc4_hvs *hvs = vc4->hvs; struct drm_printer p = drm_seq_file_printer(m);