Skip to content
Commit b1ddb5cc authored by Chen Gang's avatar Chen Gang Committed by Richard Kuo
Browse files

arch: hexagon: kernel: reset.c: use function pointer instead of function for...


arch: hexagon: kernel: reset.c: use function pointer instead of function for pm_power_off and export it

'pm_power_off' is a function pointer, not a function, so need change
its type, and also need export it, or can not pass compiling with
allmodconfig. The related error:

    MODPOST 2879 modules
  ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!

Signed-off-by: default avatarChen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: default avatarRichard Kuo <rkuo@codeaurora.org>
parent 07d592b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment