public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 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

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