rk29:watch dog->add DBG() function in three functions
authorhhb <hhb@rock-chips.com>
Mon, 11 Jul 2011 09:38:40 +0000 (17:38 +0800)
committerhhb <hhb@rock-chips.com>
Mon, 11 Jul 2011 09:38:40 +0000 (17:38 +0800)
drivers/watchdog/rk29_wdt.c

index c155bdb1dad76d9927fa80169bfea27920a473ab..3bf4953eceaa816fdce1cf496590865647d2e4f4 100644 (file)
@@ -449,6 +449,7 @@ static int __devexit rk29_wdt_remove(struct platform_device *dev)
 \r
 static void rk29_wdt_shutdown(struct platform_device *dev)\r
 {\r
+       DBG("***%s***\n", __func__);\r
        rk29_wdt_stop();\r
 }\r
 \r
@@ -456,12 +457,14 @@ static void rk29_wdt_shutdown(struct platform_device *dev)
 \r
 static int rk29_wdt_suspend(struct platform_device *dev, pm_message_t state)\r
 {\r
+       DBG("***%s***\n", __func__);\r
        rk29_wdt_stop();\r
        return 0;\r
 }\r
 \r
 static int rk29_wdt_resume(struct platform_device *dev)\r
 {\r
+       DBG("***%s***\n", __func__);\r
        rk29_wdt_set_heartbeat(tmr_margin);\r
        rk29_wdt_start();\r
        return 0;\r