Vishwanath Sripathy <[email protected]> writes:

> Kevin,
[...]

>> @@ -288,20 +290,19 @@ unsigned long omap_pm_cpu_get_freq(void)
>>
>>  int omap_pm_get_dev_context_loss_count(struct device *dev)
>>  {
>> +    struct platform_device *pdev = to_platform_device(dev);
>> +    int count;
>> +
>>      if (!dev) {
>>              WARN_ON(1);
>>              return -EINVAL;
>>      };
>>
>> -    pr_debug("OMAP PM: returning context loss count for dev %s\n",
>> -             dev_name(dev));
>> +    count = omap_device_get_context_loss_count(pdev);
>> +    pr_debug("OMAP PM: context loss count for dev %s = %d\n",
>> +             dev_name(dev), count);
>
> Shouldn't this implementation be part of omap-pm.c where all the OMAP PM
> functions are to be implemented? 

Where is omap-pm.c?

Kevin

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to