[PATCH] Export pmu_* variables unconditionally

2008-03-08 Thread Guido Günther
Hi, This is a resend, since it's still unfixed in current Linus git and I didn't see any comments (please cc: me since I'm not subscribed): Otherwise without CONFIG_SUSPEND we have: ERROR: "pmu_batteries" [drivers/macintosh/apm_emu.ko] undefined! ERROR: "pmu_battery_count" [drivers/macintosh/apm_

[PATCH] Export pmu_* variables unconditionally

2008-02-27 Thread Guido Günther
Otherwise without CONFIG_SUSPEND we have: ERROR: "pmu_batteries" [drivers/macintosh/apm_emu.ko] undefined! ERROR: "pmu_battery_count" [drivers/macintosh/apm_emu.ko] undefined! ERROR: "pmu_power_flags" [drivers/macintosh/apm_emu.ko] undefined! on PPC32. The variables aren't wrapped in '#if defined