diff options
author | Thierry Reding <treding@nvidia.com> | 2014-07-11 13:19:06 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-07-17 14:58:43 +0200 |
commit | 7232398abc6a7186e315425638c367d50c674718 (patch) | |
tree | 874b08603b104c3b42a07cb7c1402a8f3bcf5ec0 /drivers/gpu/drm/tegra | |
parent | 24fa5af81059af90c723bec6aacc3cd2b2809d14 (diff) | |
download | blackbird-op-linux-7232398abc6a7186e315425638c367d50c674718.tar.gz blackbird-op-linux-7232398abc6a7186e315425638c367d50c674718.zip |
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.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/tegra/sor.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/gr3d.c b/drivers/gpu/drm/tegra/gr3d.c index 69974851e564..2d07616a7d80 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 eafd0b8a71d2..7f8ca5d4718f 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> |