ARM: OMAP: change get_context_loss_count ret value to int
[pandora-kernel.git] / arch / arm / mach-omap2 / omap_hwmod.c
index d713807..6b3088d 100644 (file)
@@ -2625,7 +2625,7 @@ ohsps_unlock:
  * Returns the context loss count of the powerdomain assocated with @oh
  * upon success, or zero if no powerdomain exists for @oh.
  */
-u32 omap_hwmod_get_context_loss_count(struct omap_hwmod *oh)
+int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh)
 {
        struct powerdomain *pwrdm;
        int ret = 0;