Re: [PATCH 10/15] watchdog/mpcore_wdt: Add support for dev_pm_ops interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 07-03-2012 14:27, Viresh Kumar wrote:

This patch adds dev_pm_ops support for standby/slepp/hibernate.

Signed-off-by: Viresh Kumar<viresh.kumar@xxxxxx>
---
  drivers/watchdog/mpcore_wdt.c |   18 +++++++++---------
  1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/watchdog/mpcore_wdt.c b/drivers/watchdog/mpcore_wdt.c
index e02c02b..a099418 100644
--- a/drivers/watchdog/mpcore_wdt.c
+++ b/drivers/watchdog/mpcore_wdt.c
[...]
@@ -384,40 +385,39 @@ static int __devexit mpcore_wdt_remove(struct platform_device *pdev)
[...]
  /* work with hotplug and coldplug */
  MODULE_ALIAS("platform:mpcore_wdt");

  static struct platform_driver mpcore_wdt_driver = {
  	.probe		= mpcore_wdt_probe,
  	.remove		= __devexit_p(mpcore_wdt_remove),
-	.suspend	= mpcore_wdt_suspend,
-	.resume		= mpcore_wdt_resume,
  	.shutdown	= mpcore_wdt_shutdown,
  	.driver		= {
  		.owner	= THIS_MODULE,
  		.name	= "mpcore_wdt",
+		.pm = &mpcore_wdt_dev_pm_ops,

   Please align the right part of initializer like all above.

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux