Len Brown wrote: > On Saturday 11 August 2007 15:57, Alexey Starikovskiy wrote: >> +#if defined(CONFIG_POWER_SUPPLY) || defined(CONFIG_POWER_SUPPLY_MODULE) >> +#define ENABLE_POWER_SUPPLY >> +#include <linux/power_supply.h> >> +#endif > > sort of unfortunately to then have the #ifdef ENABLE_POWER_SUPPLY > sprinkled throughout the code, though I don't immediately see > a cleaner way to do it.... > We could make it "depend on POWER_SUPPLY" at some later point. Regards, Alex. - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html