]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mfd: Add missing #ifdef around tc3589x PM block
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Aug 2011 18:37:17 +0000 (20:37 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:09 +0000 (14:09 +0200)
commit54d8e2c323b439e0e20ea44d17b875d9a43f7d66
tree3004e6d801f0cbec1b8a713bfa89d231172a91fd
parentd8e4a88b7974ea03015f515383fb2576fbb517f1
mfd: Add missing #ifdef around tc3589x PM block

The CONFIG_PM code was unconditionally compiled in despite
the dev_pm_ops only being included into the driver struct
if used. Fix this by adding the missing #ifdef.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tc3589x.c