26 Feb
2015
26 Feb
'15
2:59 a.m.
On Wed, Feb 25, 2015 at 09:37:52PM +0530, Vinod Koul wrote:
The struct dev_pm_ops defines usage_count only when CONFIG_PM is defined. So we should use this variable only in cases where this falg is true. So we define a local variable and read the value under this flag. In non PM cases, we set this to 1.
Applied, thanks.