Skip to content

Commit

Permalink
arc: export symbol for pm_power_off in reset.c
Browse files Browse the repository at this point in the history
Need export symbol for it, or can not pass compiling, the related error
with allmodconfig:

    MODPOST 2994 modules
  ERROR: "pm_power_off" [drivers/mfd/retu-mfd.ko] undefined!
  ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Chen Gang authored and Vineet Gupta committed Nov 6, 2013
1 parent 8f146d0 commit b6fe8e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arc/kernel/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ void machine_power_off(void)
}

void (*pm_power_off) (void) = NULL;
EXPORT_SYMBOL(pm_power_off);

0 comments on commit b6fe8e7

Please sign in to comment.