diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-01-20 21:09:46 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-02-12 07:22:17 (GMT) |
commit | 82bf90c62834842249c4f94535079f5cbec9014c (patch) | |
tree | 7f7974c660928ba1d485bfe84059dd07ced278be /firmware/emi26 | |
parent | 0091b9d6c1ef2caab6cb3b6c0aa75f9948307856 (diff) | |
download | linux-82bf90c62834842249c4f94535079f5cbec9014c.tar.xz |
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 'firmware/emi26')
0 files changed, 0 insertions, 0 deletions