Remove the unused host1x field from the structure and group the fields more logically.
Signed-off-by: Thierry Reding treding@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;