struct tegra_dc has been declared at 13rd line. Remove the duplicate. Move struct tegra_plane declaration forward. Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx> --- drivers/gpu/drm/tegra/hub.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tegra/hub.h b/drivers/gpu/drm/tegra/hub.h index 3efa1be07ff8..36593bb36072 100644 --- a/drivers/gpu/drm/tegra/hub.h +++ b/drivers/gpu/drm/tegra/hub.h @@ -11,6 +11,7 @@ #include "plane.h" struct tegra_dc; +struct tegra_plane; struct tegra_windowgroup { unsigned int usecount; @@ -72,9 +73,6 @@ to_tegra_display_hub_state(struct drm_private_state *priv) return container_of(priv, struct tegra_display_hub_state, base); } -struct tegra_dc; -struct tegra_plane; - int tegra_display_hub_prepare(struct tegra_display_hub *hub); void tegra_display_hub_cleanup(struct tegra_display_hub *hub); -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel