diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-01-20 22:09:46 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-02-12 08:22:17 +0100 |
commit | 82bf90c62834842249c4f94535079f5cbec9014c (patch) | |
tree | 7f7974c660928ba1d485bfe84059dd07ced278be /drivers/pps | |
parent | dmaengine: pl330: fix bug that cause start the same descs in cyclic (diff) | |
download | linux-82bf90c62834842249c4f94535079f5cbec9014c.tar.xz linux-82bf90c62834842249c4f94535079f5cbec9014c.zip |
dmaengine: shdmac: use SET_RUNTIME_PM_OPS()
Use SET_RUNTIME_PM_OPS() to initialize the runtime PM method pointers in the
'struct dev_pm_ops'; since that macro doesn't do anything if CONFIG_PM is
not defined, we have to move #ifdef up to also cover the runtime PM methods
in order to avoid compilation warnings.
Based on orignal patch by Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions