[PATCH v2 02/27] drm/tegra: Cleanup tegra_dc structure

Thierry Reding thierry.reding at gmail.com
Mon Oct 7 10:34:19 CEST 2013


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

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 drivers/gpu/host1x/drm/drm.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/gpu/host1x/drm/drm.h b/drivers/gpu/host1x/drm/drm.h
index f7cd946..b8d9f43 100644
--- a/drivers/gpu/host1x/drm/drm.h
+++ b/drivers/gpu/host1x/drm/drm.h
@@ -94,16 +94,13 @@ struct tegra_output;
 
 struct tegra_dc {
 	struct host1x_client client;
-	spinlock_t lock;
-
-	struct host1x_drm *host1x;
 	struct device *dev;
+	spinlock_t lock;
 
 	struct drm_crtc base;
 	int pipe;
 
 	struct clk *clk;
-
 	void __iomem *regs;
 	int irq;
 
-- 
1.8.4



More information about the dri-devel mailing list