diff options
author | Arto Merilainen <amerilainen@nvidia.com> | 2013-03-22 10:34:06 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-22 06:39:13 -0400 |
commit | c89c0ea63fcd045bdc17076fd078676e1da0c41a (patch) | |
tree | 58810e133f1b7339401b0fcf4627a1d746b83272 /drivers/gpu/host1x/drm/drm.c | |
parent | 4231c6b01af9f0f3eeca4b8d0d87125d78233b41 (diff) |
gpu: host1x: drm: Rename host1x to host1x_drm
Both host1x and drm drivers have host1x structures. This patch
renames the host1x structure under drm to follow name host1x_drm.
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/gpu/host1x/drm/drm.c')
-rw-r--r-- | drivers/gpu/host1x/drm/drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/host1x/drm/drm.c b/drivers/gpu/host1x/drm/drm.c index 9d452df5bcad..6c59bcdb65e6 100644 --- a/drivers/gpu/host1x/drm/drm.c +++ b/drivers/gpu/host1x/drm/drm.c | |||
@@ -26,7 +26,7 @@ | |||
26 | static int tegra_drm_load(struct drm_device *drm, unsigned long flags) | 26 | static int tegra_drm_load(struct drm_device *drm, unsigned long flags) |
27 | { | 27 | { |
28 | struct device *dev = drm->dev; | 28 | struct device *dev = drm->dev; |
29 | struct host1x *host1x; | 29 | struct host1x_drm *host1x; |
30 | int err; | 30 | int err; |
31 | 31 | ||
32 | host1x = dev_get_drvdata(dev); | 32 | host1x = dev_get_drvdata(dev); |
@@ -69,7 +69,7 @@ static int tegra_drm_open(struct drm_device *drm, struct drm_file *filp) | |||
69 | 69 | ||
70 | static void tegra_drm_lastclose(struct drm_device *drm) | 70 | static void tegra_drm_lastclose(struct drm_device *drm) |
71 | { | 71 | { |
72 | struct host1x *host1x = drm->dev_private; | 72 | struct host1x_drm *host1x = drm->dev_private; |
73 | 73 | ||
74 | drm_fbdev_cma_restore_mode(host1x->fbdev); | 74 | drm_fbdev_cma_restore_mode(host1x->fbdev); |
75 | } | 75 | } |