On Sun, 3 Aug 2008, Manish Katiyar wrote: > >> static void acpi_battery_remove(struct acpi_sbs *sbs, int id) > >> { > >> +#if defined (CONFIG_ACPI_SYSFS_POWER) || (CONFIG_ACPI_PROCFS_POWER) > > > > Sorry, my bad this time, you actually need to have defined() around both > > of the config symbols though I forgot it in one of them in my example > > because I was using dots instead of real ones that would have made that > > mistake obvious due to capitalization. > > Sorry... I didn't understand :-( ....... I compile tested the patch. There are plenty of examples available: $ git-grep '\#if.*||' ... -- i. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html