riscv: export pm_power_off again
authorAndreas Schwab <schwab@suse.de>
Tue, 11 Jun 2019 10:28:40 +0000 (12:28 +0200)
committerPaul Walmsley <paul.walmsley@sifive.com>
Tue, 11 Jun 2019 15:00:51 +0000 (08:00 -0700)
commit405945588feedac8d7609113de9c62e72575a0ef
treeb405b1cf98490424425adba1be737dbc2b166c8d
parent3b025f2bc98973f181d926192b0ceb6ced0f86d2
riscv: export pm_power_off again

Commit bf0102a0fdd9 ("riscv: call pm_power_off from machine_halt /
machine_power_off") removed the export of pm_power_off, but it is used by
several modules:

    ERROR: "pm_power_off" [drivers/mfd/rk808.ko] undefined!
    ERROR: "pm_power_off" [drivers/mfd/max8907.ko] undefined!
    ERROR: "pm_power_off" [drivers/mfd/axp20x.ko] undefined!
    ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!

Signed-off-by: Andreas Schwab <schwab@suse.de>
Fixes: bf0102a0fdd9 ("riscv: call pm_power_off from machine_halt / machine_power_off")
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/kernel/reset.c