]> git.karo-electronics.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>
Thu, 6 Oct 2011 14:43:55 +0000 (16:43 +0200)
commita7f6da5cc0ff7c855e9f35a7c72344956743b67c
treef93c625ed7966f586524e9923c185575de140697
parent9daea0a13f56e28d8b86972cee3cd7dd0b2e90f4
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