summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-07-11 13:19:06 +0200
committerThierry Reding <treding@nvidia.com>2014-07-17 14:58:43 +0200
commit7232398abc6a7186e315425638c367d50c674718 (patch)
tree874b08603b104c3b42a07cb7c1402a8f3bcf5ec0 /drivers/gpu/drm/tegra
parent24fa5af81059af90c723bec6aacc3cd2b2809d14 (diff)
downloadop-kernel-dev-7232398abc6a7186e315425638c367d50c674718.zip
op-kernel-dev-7232398abc6a7186e315425638c367d50c674718.tar.gz
ARM: tegra: Convert PMC to a driver
This commit converts the PMC support code to a platform driver. Because the boot process needs to call into this driver very early, also set up a minimal environment via an early initcall. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r--drivers/gpu/drm/tegra/gr3d.c2
-rw-r--r--drivers/gpu/drm/tegra/sor.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/gr3d.c b/drivers/gpu/drm/tegra/gr3d.c
index 6997485..2d07616 100644
--- a/drivers/gpu/drm/tegra/gr3d.c
+++ b/drivers/gpu/drm/tegra/gr3d.c
@@ -13,7 +13,7 @@
#include <linux/platform_device.h>
#include <linux/reset.h>
-#include <soc/tegra/powergate.h>
+#include <soc/tegra/pmc.h>
#include "drm.h"
#include "gem.h"
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c
index eafd0b8..7f8ca5d 100644
--- a/drivers/gpu/drm/tegra/sor.c
+++ b/drivers/gpu/drm/tegra/sor.c
@@ -12,7 +12,7 @@
#include <linux/platform_device.h>
#include <linux/reset.h>
-#include <soc/tegra/powergate.h>
+#include <soc/tegra/pmc.h>
#include <drm/drm_dp_helper.h>
OpenPOWER on IntegriCloud