PM / Domains: Fix build warning for CONFIG_PM_RUNTIME unset
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 Jul 2012 20:42:52 +0000 (22:42 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 12 Jul 2012 20:39:49 +0000 (22:39 +0200)
commit8e9afafdad59f5973a5e72e05db9802f82091398
tree1d58aa6fbaee421436692b73654dd97103c203b5
parentdb79e53dd5957321ca78efe6c0cda578034e381b
PM / Domains: Fix build warning for CONFIG_PM_RUNTIME unset

The functions genpd_save_dev() and genpd_restore_dev() are not used
for CONFIG_PM_RUNTIME unset, so move them under an appropriate
#ifdef.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/domain.c