riscv: export pm_power_off again
PATCH 1/1 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!--- arch/riscv/kernel/reset.c | 1 + 1 file changed, 1 insertion(+)
arch/riscv/kernel/reset.c +1 -0
@@ -13,6 +13,7 @@ static void default_power_off(void) }void (*pm_power_off)(void ) = default_power_off; +EXPORT_SYMBOL (pm_power_off);void machine_restart (char *cmd) {
Signature · 7 lines
2.22.0 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 10 lines · Andreas Schwab
Commit
bf0102a0fdd9("riscv: callpm_power_offfrommachine_halt/machine_power_off") removed the export ofpm_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 <[email protected]>
None of these drivers should be buildable on RISC-V. Please work with the maintainers to fix this up.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 10 lines · Andreas Schwab
Commit
bf0102a0fdd9("riscv: callpm_power_offfrommachine_halt/machine_power_off") removed the export ofpm_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 <[email protected]>
Thanks, queued for v5.2-rc, along with a "Fixes:" line.
- Paul
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv