diff options
| -rw-r--r-- | drivers/video/sh_mobile_meram.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/sh_mobile_meram.c b/drivers/video/sh_mobile_meram.c index e0f098562a74..a297de5cc859 100644 --- a/drivers/video/sh_mobile_meram.c +++ b/drivers/video/sh_mobile_meram.c | |||
| @@ -569,6 +569,7 @@ EXPORT_SYMBOL_GPL(sh_mobile_meram_cache_update); | |||
| 569 | * Power management | 569 | * Power management |
| 570 | */ | 570 | */ |
| 571 | 571 | ||
| 572 | #if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME) | ||
| 572 | static int sh_mobile_meram_suspend(struct device *dev) | 573 | static int sh_mobile_meram_suspend(struct device *dev) |
| 573 | { | 574 | { |
| 574 | struct platform_device *pdev = to_platform_device(dev); | 575 | struct platform_device *pdev = to_platform_device(dev); |
| @@ -611,6 +612,7 @@ static int sh_mobile_meram_resume(struct device *dev) | |||
| 611 | meram_write_reg(priv->base, common_regs[i], priv->regs[i]); | 612 | meram_write_reg(priv->base, common_regs[i], priv->regs[i]); |
| 612 | return 0; | 613 | return 0; |
| 613 | } | 614 | } |
| 615 | #endif /* CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME */ | ||
| 614 | 616 | ||
| 615 | static UNIVERSAL_DEV_PM_OPS(sh_mobile_meram_dev_pm_ops, | 617 | static UNIVERSAL_DEV_PM_OPS(sh_mobile_meram_dev_pm_ops, |
| 616 | sh_mobile_meram_suspend, | 618 | sh_mobile_meram_suspend, |
