diff options
| -rw-r--r-- | drivers/video/sh_mobile_meram.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/video/sh_mobile_meram.c b/drivers/video/sh_mobile_meram.c index d9f7a44c231c..82ba830bf95d 100644 --- a/drivers/video/sh_mobile_meram.c +++ b/drivers/video/sh_mobile_meram.c | |||
| @@ -539,7 +539,7 @@ static struct sh_mobile_meram_ops sh_mobile_meram_ops = { | |||
| 539 | * Power management | 539 | * Power management |
| 540 | */ | 540 | */ |
| 541 | 541 | ||
| 542 | static int sh_mobile_meram_runtime_suspend(struct device *dev) | 542 | static int sh_mobile_meram_suspend(struct device *dev) |
| 543 | { | 543 | { |
| 544 | struct platform_device *pdev = to_platform_device(dev); | 544 | struct platform_device *pdev = to_platform_device(dev); |
| 545 | struct sh_mobile_meram_priv *priv = platform_get_drvdata(pdev); | 545 | struct sh_mobile_meram_priv *priv = platform_get_drvdata(pdev); |
| @@ -563,7 +563,7 @@ static int sh_mobile_meram_runtime_suspend(struct device *dev) | |||
| 563 | return 0; | 563 | return 0; |
| 564 | } | 564 | } |
| 565 | 565 | ||
| 566 | static int sh_mobile_meram_runtime_resume(struct device *dev) | 566 | static int sh_mobile_meram_resume(struct device *dev) |
| 567 | { | 567 | { |
| 568 | struct platform_device *pdev = to_platform_device(dev); | 568 | struct platform_device *pdev = to_platform_device(dev); |
| 569 | struct sh_mobile_meram_priv *priv = platform_get_drvdata(pdev); | 569 | struct sh_mobile_meram_priv *priv = platform_get_drvdata(pdev); |
| @@ -582,10 +582,9 @@ static int sh_mobile_meram_runtime_resume(struct device *dev) | |||
| 582 | return 0; | 582 | return 0; |
| 583 | } | 583 | } |
| 584 | 584 | ||
| 585 | static const struct dev_pm_ops sh_mobile_meram_dev_pm_ops = { | 585 | static UNIVERSAL_DEV_PM_OPS(sh_mobile_meram_dev_pm_ops, |
| 586 | .runtime_suspend = sh_mobile_meram_runtime_suspend, | 586 | sh_mobile_meram_suspend, |
| 587 | .runtime_resume = sh_mobile_meram_runtime_resume, | 587 | sh_mobile_meram_resume, NULL); |
| 588 | }; | ||
| 589 | 588 | ||
| 590 | /* ----------------------------------------------------------------------------- | 589 | /* ----------------------------------------------------------------------------- |
| 591 | * Probe/remove and driver init/exit | 590 | * Probe/remove and driver init/exit |
