diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-02-25 17:07:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-26 02:59:37 +0100 |
commit | 5bb400ce4a9b100a2dd3f5db17c4c76877cecade (patch) | |
tree | a66be22b9c64c92a34cdb6b87ff5e7df55813e01 /sound/soc/atmel | |
parent | ASoC: Intel: Remove soc pm handling to allow platform driver handle it (diff) | |
download | linux-5bb400ce4a9b100a2dd3f5db17c4c76877cecade.tar.xz linux-5bb400ce4a9b100a2dd3f5db17c4c76877cecade.zip |
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 <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
0 files changed, 0 insertions, 0 deletions