summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/vi/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/host/vi/vi.c')
-rw-r--r--drivers/video/tegra/host/vi/vi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/vi/vi.c b/drivers/video/tegra/host/vi/vi.c
index 3985ee029efa..ee801c91efa5 100644
--- a/drivers/video/tegra/host/vi/vi.c
+++ b/drivers/video/tegra/host/vi/vi.c
@@ -39,6 +39,7 @@ static int __exit vi_remove(struct nvhost_device *dev)
return 0;
}
+#ifdef CONFIG_PM
static int vi_suspend(struct nvhost_device *dev, pm_message_t state)
{
return nvhost_client_device_suspend(dev);
@@ -49,6 +50,7 @@ static int vi_resume(struct nvhost_device *dev)
dev_info(&dev->dev, "resuming\n");
return 0;
}
+#endif
static struct nvhost_driver vi_driver = {
.probe = vi_probe,