Re: [PATCH] arch: hexagon: kernel: reset.c: use function pointerinstead of function for pm_power_off and export it

From: rkuo
Date: Fri Dec 06 2013 - 13:23:29 EST


On Fri, Nov 29, 2013 at 12:01:37PM +0800, Chen Gang wrote:
> '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@xxxxxxxxx>
> ---
> arch/hexagon/kernel/reset.c | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>

Acked-by: Richard Kuo <rkuo@xxxxxxxxxxxxxx>

--

Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/