From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH 2/3] arch: unicore32: ksyms: export 'pm_power_off' to avoid compiling failure.
Date: Tue, 27 May 2014 08:04:24 +0800 [thread overview]
Message-ID: <5383D688.3080900@gmail.com> (raw)
In-Reply-To: <5383D5F5.2000303@gmail.com>
Two driver modules need 'pm_power_off', so export it.
The related error (with allmodconfig under unicore32):
MODPOST 4039 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.5i5j@gmail.com>
---
arch/unicore32/kernel/process.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/unicore32/kernel/process.c b/arch/unicore32/kernel/process.c
index 778ebba..b008e99 100644
--- a/arch/unicore32/kernel/process.c
+++ b/arch/unicore32/kernel/process.c
@@ -60,6 +60,7 @@ void machine_halt(void)
* Function pointers to optional machine specific functions
*/
void (*pm_power_off)(void) = NULL;
+EXPORT_SYMBOL(pm_power_off);
void machine_power_off(void)
{
--
1.9.2.459.g68773ac
next prev parent reply other threads:[~2014-05-27 0:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 0:01 [PATCH 0/3] arch: unicore32: ksyms: export several implemeted symbols to avoid compiling failure Chen Gang
2014-05-27 0:03 ` [PATCH 1/3] arch: unicore32: ksyms: export additional find_first_*() " Chen Gang
2014-05-27 0:13 ` 回复: " 管雪涛
2014-05-27 0:04 ` Chen Gang [this message]
2014-05-27 0:14 ` 回复: [PATCH 2/3] arch: unicore32: ksyms: export 'pm_power_off' " 管雪涛
2014-05-27 0:08 ` [PATCH 3/3] arch: unicore32: ksyms: export '__cpuc_coherent_kern_range' " Chen Gang
2014-05-27 0:14 ` 回复: " 管雪涛
2014-05-27 0:13 ` 回复: [PATCH 0/3] arch: unicore32: ksyms: export several implemeted symbols " 管雪涛
2014-05-27 0:32 ` Chen Gang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5383D688.3080900@gmail.com \
--to=gang.chen.5i5j@gmail.com \
--cc=gxt@mprc.pku.edu.cn \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox