summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorDavid Riley <davidriley@chromium.org>2015-03-18 12:52:25 +0300
committerThierry Reding <treding@nvidia.com>2015-05-04 15:21:45 +0300
commit7892158a96629c46c46dfae52eaf951f51222cf5 (patch)
treeb8630cbec1b17f862c38c2905cdf4de441ee9803 /include/soc
parent4d48edb3c3e1234d6b3fcdfb9ac24d7c6de449cb (diff)
downloadlinux-7892158a96629c46c46dfae52eaf951f51222cf5.tar.xz
soc/tegra: pmc: move to using a restart handler
The pmc driver was previously exporting tegra_pmc_restart, which was assigned to machine_desc.init_machine, taking precedence over the restart handlers registered through register_restart_handler(). Signed-off-by: David Riley <davidriley@chromium.org> [tomeu.vizoso@collabora.com: Rebased] Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> [treding@nvidia.com: minor cleanups] Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/tegra/pmc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/soc/tegra/pmc.h b/include/soc/tegra/pmc.h
index 65a93273e72f..f5c0de43a5fa 100644
--- a/include/soc/tegra/pmc.h
+++ b/include/soc/tegra/pmc.h
@@ -26,8 +26,6 @@
struct clk;
struct reset_control;
-void tegra_pmc_restart(enum reboot_mode mode, const char *cmd);
-
#ifdef CONFIG_PM_SLEEP
enum tegra_suspend_mode tegra_pmc_get_suspend_mode(void);
void tegra_pmc_set_suspend_mode(enum tegra_suspend_mode mode);