From: Vinod Koul Date: Wed, 25 Feb 2015 16:07:52 +0000 (+0530) Subject: ASoC: Intel: wrap runtime_pm usage count under CONFIG_PM X-Git-Tag: omap-for-v4.2/o2_dc~120^2~1^2~13^2~3^5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb400ce4a9b100a2dd3f5db17c4c76877cecade;p=pandora-kernel.git ASoC: Intel: wrap runtime_pm usage count under CONFIG_PM 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. Reported-by: kbuild test robot Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- Reading git-diff-tree failed