Эх сурвалжийг харах

drm/tegra: Cleanup tegra_dc structure

Remove the unused host1x field from the structure and group the fields
more logically.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding 12 жил өмнө
parent
commit
d18d303378

+ 1 - 4
drivers/gpu/host1x/drm/drm.h

@@ -94,16 +94,13 @@ struct tegra_output;
 
 
 struct tegra_dc {
 struct tegra_dc {
 	struct host1x_client client;
 	struct host1x_client client;
-	spinlock_t lock;
-
-	struct host1x_drm *host1x;
 	struct device *dev;
 	struct device *dev;
+	spinlock_t lock;
 
 
 	struct drm_crtc base;
 	struct drm_crtc base;
 	int pipe;
 	int pipe;
 
 
 	struct clk *clk;
 	struct clk *clk;
-
 	void __iomem *regs;
 	void __iomem *regs;
 	int irq;
 	int irq;