ARM: OMAP: change get_context_loss_count ret value to int
[pandora-kernel.git] / arch / arm / plat-omap / omap_device.c
index cd90bed..ef4ffc2 100644 (file)
@@ -426,7 +426,7 @@ static int _omap_device_notifier_call(struct notifier_block *nb,
  * return the context loss counter for that hwmod, otherwise return
  * zero.
  */
-u32 omap_device_get_context_loss_count(struct platform_device *pdev)
+int omap_device_get_context_loss_count(struct platform_device *pdev)
 {
        struct omap_device *od;
        u32 ret = 0;