On 9/16/2010 3:37 PM, Varadarajan, Charulatha wrote:
From: Cousson, Benoit
Sent: Thursday, September 16, 2010 3:11 AM
On 9/15/2010 7:26 AM, Varadarajan, Charulatha wrote:
Call runtime pm APIs pm_runtime_put_sync() and pm_runtime_get_sync()
for enabling/disabling the clocks, sysconfig settings instead of using
clock FW APIs.
Signed-off-by: Charulatha V<charu@xxxxxx>
---
drivers/watchdog/omap_wdt.c | 42 +++++++----------------------------
-------
1 files changed, 7 insertions(+), 35 deletions(-)
diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c
index 76b58ab..dbbc580 100644
--- a/drivers/watchdog/omap_wdt.c
+++ b/drivers/watchdog/omap_wdt.c
@@ -38,11 +38,11 @@
#include<linux/err.h>
#include<linux/platform_device.h>
#include<linux/moduleparam.h>
-#include<linux/clk.h>
#include<linux/bitops.h>
#include<linux/io.h>
#include<linux/uaccess.h>
#include<linux/slab.h>
+#include<linux/pm_runtime.h>
#include<mach/hardware.h>
#include<plat/prcm.h>
Why do you have to access the PRCM from the driver?
This has nothing to do with hwmod patch series.
Yes, I know, but since you removed some include, I was wondering if that
one was still useful.
The reason for using prcm header is to support
GET_BOOT_STATUS ioctl which uses "omap_prcm_get_reset_sources()"
Thanks,
Benoit
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html