diff options
Diffstat (limited to 'drivers/video/tegra/host/gr2d/gr2d.c')
-rw-r--r-- | drivers/video/tegra/host/gr2d/gr2d.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/gr2d/gr2d.c b/drivers/video/tegra/host/gr2d/gr2d.c index 1bbfcdd8b587..56752eba5951 100644 --- a/drivers/video/tegra/host/gr2d/gr2d.c +++ b/drivers/video/tegra/host/gr2d/gr2d.c @@ -33,6 +33,7 @@ static int __exit gr2d_remove(struct nvhost_device *dev) return 0; } +#ifdef CONFIG_PM static int gr2d_suspend(struct nvhost_device *dev, pm_message_t state) { return nvhost_client_device_suspend(dev); @@ -43,6 +44,7 @@ static int gr2d_resume(struct nvhost_device *dev) dev_info(&dev->dev, "resuming\n"); return 0; } +#endif static struct nvhost_driver gr2d_driver = { .probe = gr2d_probe, |