From: Alexey Starikovskiy <astarikovskiy@xxxxxxx> drivers/acpi/sbs.c: In function \u2018acpi_battery_alarm_show\u2019: drivers/acpi/sbs.c:457: error: implicit declaration of function \u2018acpi_battery_get_alarm\u2019 drivers/acpi/sbs.c: In function \u2018acpi_battery_alarm_store\u2019: drivers/acpi/sbs.c:472: error: implicit declaration of function \u2018acpi_battery_set_alarm\u2019 drivers/acpi/sbs.c: In function \u2018acpi_battery_add\u2019: Signed-off-by: Alexey Starikovskiy <astarikovskiy@xxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/acpi/sbs.c | 4 ---- 1 file changed, 4 deletions(-) diff -puN drivers/acpi/sbs.c~acpi-sbs-fix-sbs-add-alarm-patch drivers/acpi/sbs.c --- a/drivers/acpi/sbs.c~acpi-sbs-fix-sbs-add-alarm-patch +++ a/drivers/acpi/sbs.c @@ -395,8 +395,6 @@ static int acpi_battery_get_state(struct return result; } -#ifdef CONFIG_ACPI_PROCFS - static int acpi_battery_get_alarm(struct acpi_battery *battery) { return acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, @@ -433,8 +431,6 @@ static int acpi_battery_set_alarm(struct return ret; } -#endif - static int acpi_ac_get_present(struct acpi_sbs *sbs) { int result; _ - 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