Skip to content

Commit b6fe8e7

Browse files
Chen Gangvineetgarc
authored andcommitted
arc: export symbol for pm_power_off in reset.c
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>
1 parent 8f146d0 commit b6fe8e7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/arc/kernel/reset.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ void machine_power_off(void)
3131
}
3232

3333
void (*pm_power_off) (void) = NULL;
34+
EXPORT_SYMBOL(pm_power_off);

0 commit comments

Comments
 (0)