]> git.baikalelectronics.ru Git - kernel.git/commit
arch: hexagon: kernel: reset.c: use function pointer instead of function for pm_power...
authorChen Gang <gang.chen.5i5j@gmail.com>
Fri, 29 Nov 2013 04:01:37 +0000 (12:01 +0800)
committerRichard Kuo <rkuo@codeaurora.org>
Fri, 4 Apr 2014 23:20:00 +0000 (18:20 -0500)
commit49d1933973edd37f6ebcd9a6df685bba9c4b267d
tree8557f753a13701f359d9a9190a2ce5b535053813
parentada4f5189b0f13a9ef8dc10ce9317d3fb9197ab6
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: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/reset.c