From: Sergei Shtylyov Date: Tue, 20 Jan 2015 21:09:46 +0000 (+0300) Subject: dmaengine: shdmac: use SET_RUNTIME_PM_OPS() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~48^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82bf90c62834842249c4f94535079f5cbec9014c;p=pandora-kernel.git 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 . Signed-off-by: Sergei Shtylyov Signed-off-by: Vinod Koul --- Reading git-diff-tree failed