summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/mpe/mpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/host/mpe/mpe.c')
-rw-r--r--drivers/video/tegra/host/mpe/mpe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/mpe/mpe.c b/drivers/video/tegra/host/mpe/mpe.c
index e47c1029a3c5..c738700469c6 100644
--- a/drivers/video/tegra/host/mpe/mpe.c
+++ b/drivers/video/tegra/host/mpe/mpe.c
@@ -639,6 +639,7 @@ static int __exit mpe_remove(struct nvhost_device *dev)
return 0;
}
+#ifdef CONFIG_PM
static int mpe_suspend(struct nvhost_device *dev, pm_message_t state)
{
return nvhost_client_device_suspend(dev);
@@ -649,6 +650,7 @@ static int mpe_resume(struct nvhost_device *dev)
dev_info(&dev->dev, "resuming\n");
return 0;
}
+#endif
static struct nvhost_driver mpe_driver = {
.probe = mpe_probe,