From: "Josh Boyer" <jwboyer@gmail.com>
To: "Dave Jones" <davej@redhat.com>,
"Linux Kernel" <linux-kernel@vger.kernel.org>,
paulus@samba.org
Subject: Re: fix modular compilation of pmu_battery
Date: Sat, 21 Jul 2007 20:57:06 -0500 [thread overview]
Message-ID: <625fc13d0707211857l4952cf1wec0d038859512bea@mail.gmail.com> (raw)
In-Reply-To: <20070721184201.GA23306@redhat.com>
On 7/21/07, Dave Jones <davej@redhat.com> wrote:
> pmu_battery fails to compile as a module on ppc64.
>
> ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
> ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
> ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!
>
> Signed-off-by: Dave Jones <davej@redhat.com>
>
> --- linux-2.6.22.noarch/drivers/macintosh/via-pmu.c~ 2007-07-20 20:45:27.000000000 -0400
> +++ linux-2.6.22.noarch/drivers/macintosh/via-pmu.c 2007-07-20 20:45:52.000000000 -0400
> @@ -2842,10 +2842,10 @@ EXPORT_SYMBOL(pmu_wait_complete);
> EXPORT_SYMBOL(pmu_suspend);
> EXPORT_SYMBOL(pmu_resume);
> EXPORT_SYMBOL(pmu_unlock);
> -#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
> +#if defined(CONFIG_PM)
> EXPORT_SYMBOL(pmu_enable_irled);
> EXPORT_SYMBOL(pmu_battery_count);
> EXPORT_SYMBOL(pmu_batteries);
> EXPORT_SYMBOL(pmu_power_flags);
> -#endif /* CONFIG_PM && CONFIG_PPC32 */
> +#endif
Paul has a different fix for this pending on the linuxppc-dev list.
josh
prev parent reply other threads:[~2007-07-22 1:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 18:42 Dave Jones
2007-07-22 1:57 ` Josh Boyer [this message]
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=625fc13d0707211857l4952cf1wec0d038859512bea@mail.gmail.com \
--to=jwboyer@gmail.com \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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
all inboxes | Powered by JetHome®