Home
last modified time | relevance | path

Searched hist:"82 bf90c62834842249c4f94535079f5cbec9014c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/dma/sh/
H A Dshdmac.cdiff 82bf90c62834842249c4f94535079f5cbec9014c Tue Jan 20 15:09:46 CST 2015 Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> 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>