PM / Domains: provide pm_genpd_poweroff_noirq() stub
authorArnd Bergmann <arnd@arndb.de>
Fri, 30 Jun 2017 16:06:57 +0000 (18:06 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Jul 2017 19:59:17 +0000 (21:59 +0200)
commitaf3eb27433356ed4b6e124fd446a425a0ccf4e49
tree46116a0d5a176974230d2da17a2f3204222d4b7f
parent23c6d2c73f4c7b1074e21fb3be8220fd677b1f7e
PM / Domains: provide pm_genpd_poweroff_noirq() stub

When CONFIG_PM_SLEEP is disabled, we don't have a pm_genpd_poweroff_noirq
function definition:

drivers/base/power/domain.c: In function 'pm_genpd_init':
drivers/base/power/domain.c:1549:37: error: 'pm_genpd_poweroff_noirq' undeclared (first use in this function); did you mean 'genpd_power_off_unused'?

This adds another NULL definition for it, just like we already have
for the other _noirq handlers.

Fixes: 10da65423fdb (PM / Domains: Call driver's noirq callbacks)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c