PM / Runtime: Move ignore_children flag under CONFIG_PM
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 8 Apr 2016 11:40:53 +0000 (13:40 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Apr 2016 23:32:37 +0000 (01:32 +0200)
commit372a12ed9d99c02f105278a9b75f0cb176d15cc1
tree196d377f99169848670dccc2ce50462a6ea4587c
parent0ae3aeefabbeef26294e7a349b51f1c761d46c9f
PM / Runtime: Move ignore_children flag under CONFIG_PM

The ignore_children flag is used only when CONFIG_PM is set, so let's move
it into that section within the struct dev_pm_info.

Move also the corresponding pm_suspend_ignore_children() API out of
device.h into pm_runtime.h, to be consistent with similar APIs.

Unfortunate this causes the Toshiba PCI SD mmc host driver to fail to
compile as it needs pm_runtime.h, so let's fix this here as well.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/mmc/host/toshsd.c
include/linux/device.h
include/linux/pm.h
include/linux/pm_runtime.h