* fix modular compilation of pmu_battery
@ 2007-07-21 18:42 Dave Jones
2007-07-22 1:57 ` Josh Boyer
0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2007-07-21 18:42 UTC (permalink / raw)
To: Linux Kernel
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
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fix modular compilation of pmu_battery
2007-07-21 18:42 fix modular compilation of pmu_battery Dave Jones
@ 2007-07-22 1:57 ` Josh Boyer
0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2007-07-22 1:57 UTC (permalink / raw)
To: Dave Jones, Linux Kernel, paulus
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-22 1:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-21 18:42 fix modular compilation of pmu_battery Dave Jones
2007-07-22 1:57 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox